ARM: export set_irq_flags
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Aug 2012 07:49:26 +0000 (07:49 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2012 18:24:24 +0000 (20:24 +0200)
commit05c769823cd0648fc56c8f0289c5f14d465389a8
treea3834a0d61292b824e1ec72f021e8ef8d6115445
parent5c5b06c3c09510a2e90f6453266823dc6f940c70
ARM: export set_irq_flags

The recently added Emma Mobile GPIO driver calls set_irq_flags
and irq_set_chip_and_handler for the interrupts it exports and
it can be built as a module, which currently fails with

ERROR: "set_irq_flags" [drivers/gpio/gpio-em.ko] undefined!

We either need to replace the call to set_irq_flags with something
else or export that function. This patch does the latter.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Magnus Damm <damm@opensource.se>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/irq.c