diff options
author | Darius Augulis <augulis.darius@gmail.com> | 2009-04-08 17:17:50 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-16 15:03:11 +0400 |
commit | 3f2030163efe4a7ee820ae56dab9a4db8c1ebb49 (patch) | |
tree | cff93721de6e9f5ae9abe58a2dd3fc1651669ecc /arch/arm/plat-mxc/include/mach/irqs.h | |
parent | 3fa6dd6a7aa7ce1a7d490ef88c2c8ec7db0f196b (diff) | |
download | linux-3f2030163efe4a7ee820ae56dab9a4db8c1ebb49.tar.xz |
Fix ifdef in plat-mxc/irc.c
Move ifdef under function brackets. This fixes compile crach when IRQ priorities
are disabled.
Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/irqs.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/irqs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/irqs.h b/arch/arm/plat-mxc/include/mach/irqs.h index c02b8fc2d821..518a36504b88 100644 --- a/arch/arm/plat-mxc/include/mach/irqs.h +++ b/arch/arm/plat-mxc/include/mach/irqs.h @@ -45,7 +45,7 @@ #define NR_IRQS (MXC_IPU_IRQ_START + MX3_IPU_IRQS) -extern void imx_irq_set_priority(unsigned char irq, unsigned char prio); +extern int imx_irq_set_priority(unsigned char irq, unsigned char prio); /* all normal IRQs can be FIQs */ #define FIQ_START 0 |