]> rtime.felk.cvut.cz Git - linux-imx.git/commit
irqdomain: Fix irq_create_direct_mapping() to test irq_domain type.
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 4 Jun 2012 05:04:38 +0000 (22:04 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 Jul 2012 15:16:13 +0000 (16:16 +0100)
commit9844a5524ec532aee826c35e3031637c7fc8287b
tree3fd2d2bd4ecdb8252d66f1f8c30d4a03e270ea0d
parentd6b0d1f7058f7cf818138cd7fd116dca3f3576d9
irqdomain: Fix irq_create_direct_mapping() to test irq_domain type.

irq_create_direct_mapping can only be used with the NOMAP type.  Make
the function test to ensure it is passed the correct type of
irq_domain.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <rob.herring@calxeda.com>
kernel/irq/irqdomain.c