[ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 8 Jan 2009 10:01:47 +0000 (10:01 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Jan 2009 16:29:42 +0000 (16:29 +0000)
arch/arm/mach-at91/at91cap9.c:337: error: 'NR_AIC_IRQS' undeclared here (not in a function)
arch/arm/mach-at91/at91rm9200.c:301: error: 'NR_AIC_IRQS' undeclared here (not in a function)
arch/arm/mach-at91/at91sam9260.c:351: error: 'NR_AIC_IRQS' undeclared here (not in a function)
arch/arm/mach-at91/at91sam9261.c:287: error: 'NR_AIC_IRQS' undeclared here (not in a function)
arch/arm/mach-at91/at91sam9263.c:312: error: 'NR_AIC_IRQS' undeclared here (not in a function)
arch/arm/mach-at91/at91sam9rl.c:304: error: 'NR_AIC_IRQS' undeclared here (not in a function)
arch/arm/mach-h720x/h7202-eval.c:38: error: implicit declaration of function 'IRQ_CHAINED_GPIOB'
arch/arm/mach-ks8695/devices.c:46: error: 'KS8695_IRQ_WAN_RX_STATUS' undeclared here (not in a function)
arch/arm/mach-msm/devices.c:28: error: 'INT_UART1' undeclared here (not in a function)
arch/arm/mach-mx2/devices.c:233: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
arch/arm/mach-mx3/devices.c:128: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
arch/arm/mach-omap1/mcbsp.c:140: error: 'INT_730_McBSP1RX' undeclared here (not in a function)
arch/arm/mach-omap1/mcbsp.c:165: error: 'INT_McBSP1RX' undeclared here (not in a function)
arch/arm/mach-omap1/mcbsp.c:200: error: 'INT_McBSP1RX' undeclared here (not in a function)
arch/arm/mach-omap2/board-apollon.c:286: error: implicit declaration of function 'omap_set_gpio_direction'
arch/arm/mach-omap2/mcbsp.c:154: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
arch/arm/mach-omap2/mcbsp.c:181: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
arch/arm/mach-pxa/e350.c:36: error: 'IRQ_BOARD_START' undeclared here (not in a function)
arch/arm/plat-s3c/dev-i2c0.c:32: error: 'IRQ_IIC' undeclared here (not in a function)
...

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
30 files changed:
arch/arm/mach-at91/at91cap9.c
arch/arm/mach-at91/at91rm9200.c
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9rl.c
arch/arm/mach-at91/board-sam9rlek.c
arch/arm/mach-davinci/devices.c
arch/arm/mach-davinci/include/mach/gpio.h
arch/arm/mach-h720x/h7202-eval.c
arch/arm/mach-ks8695/devices.c
arch/arm/mach-msm/devices.c
arch/arm/mach-mx2/devices.c
arch/arm/mach-mx3/devices.c
arch/arm/mach-netx/fb.c
arch/arm/mach-netx/xc.c
arch/arm/mach-omap1/mcbsp.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/mach-pxa/e350.c
arch/arm/mach-pxa/e400.c
arch/arm/mach-pxa/e740.c
arch/arm/mach-pxa/e750.c
arch/arm/mach-pxa/e800.c
arch/arm/mach-s3c2410/include/mach/irqs.h
arch/arm/mach-s3c6400/include/mach/irqs.h
arch/arm/plat-omap/i2c.c
arch/arm/plat-s3c/dev-fb.c
arch/arm/plat-s3c/dev-i2c0.c
arch/arm/plat-s3c/dev-i2c1.c
arch/arm/plat-s3c24xx/pwm.c

index 0a38c69fdbc450f3d09ed7545ef60af14e45fb50..73376170fb914a692d04882a375d75b3a131de84 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/module.h>
 #include <linux/pm.h>
 
+#include <asm/irq.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
index 28594fcc88e3a4dfc482c234d8c00924238a3a4a..2e9ecad97f3dc76367a842eba110a046f7e20766 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <linux/module.h>
 
+#include <asm/irq.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/at91rm9200.h>
index accb69ec478e53aca7bffb3e0aedefae89a167b5..0894f1077be7db5368568fefd64b9831280d447c 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/module.h>
 #include <linux/pm.h>
 
+#include <asm/irq.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/cpu.h>
index 7b51a59ae8b30f3b35dfcc2f7c22d37a15e6ed40..3acd7d7e6a423116411805f7b546099ba674d447 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/module.h>
 #include <linux/pm.h>
 
+#include <asm/irq.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/at91sam9261.h>
index ada4b6769107569318f9c6e21009a90728f7e79e..942792d630d8c457ed6bf0051babba6dea36a83c 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/module.h>
 #include <linux/pm.h>
 
+#include <asm/irq.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/at91sam9263.h>
index 252e954b49fda7d1325a9eaffb697c9bf2c181bf..211c5c14a1e605d6d4835203c798b9bc47419c9f 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/pm.h>
 
+#include <asm/irq.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/cpu.h>
index 9b937ee4815a804cd8b92dc5e32aca82e9c04d29..35e12a49d1a684372f736fe374abed15763cd6bd 100644 (file)
@@ -29,6 +29,7 @@
 #include <mach/hardware.h>
 #include <mach/board.h>
 #include <mach/gpio.h>
+#include <mach/at91sam9_smc.h>
 #include <mach/at91_shdwc.h>
 
 #include "sam9_smc.h"
index 3d4b1de8f8981291176cff004db625eae5daf41b..808633f9f03c3da165f4d42b1e23bd531118fdfa 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <mach/hardware.h>
 #include <mach/i2c.h>
+#include <mach/irqs.h>
 
 static struct resource i2c_resources[] = {
        {
index b3a2961f0f46f7780c21a2f78eceaabc3133dffd..b456f079f43ff4d2682e765cfd33ab681689c990 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/io.h>
 #include <asm-generic/gpio.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 
 /*
  * basic gpio routines
index 56161d55cf47e4ea4c6b3cd7743cf008f7eab566..8c0ba99d683fea6747cd9b39cb7ca6f4a68d796a 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/page.h>
 #include <asm/pgtable.h>
 #include <asm/mach/arch.h>
+#include <mach/irqs.h>
 #include <mach/hardware.h>
 #include "common.h"
 
index 36ab0fd3d9b687ace1c166a3d4231262d6dedb12..b89fb6d46cccc9efc5ed9f112875ef039da17595 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/platform_device.h>
 
+#include <mach/irqs.h>
 #include <mach/regs-wan.h>
 #include <mach/regs-lan.h>
 #include <mach/regs-hpna.h>
index f2a74b92a97fa59085a7fa7266711b99728a77b8..31b6b30e98bf1099d6f65b5e5453faa9be82fc50 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 
+#include <mach/irqs.h>
 #include <mach/msm_iomap.h>
 #include "devices.h"
 
index af121f5ab710152dd359fb60ae390fdb1c41c93f..2f9240be1c769203fe15804fb9e3b3f441e04ef1 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 
+#include <mach/irqs.h>
 #include <mach/hardware.h>
 
 /*
index 1d46cb4adf96a5b30f2d4710a73dd57a626e16f0..f8428800f28602c0e870590f32343c5128919f9f 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/serial.h>
 #include <linux/gpio.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/imx-uart.h>
 
 static struct resource uart0[] = {
index ea8fa8898fe8570455d499705f6cba8fd5c68c74..1d844e228ea92e6a674e92a6b0fcb3e2cb3eef42 100644 (file)
@@ -24,6 +24,8 @@
 #include <linux/amba/clcd.h>
 #include <linux/err.h>
 
+#include <asm/irq.h>
+
 #include <mach/netx-regs.h>
 #include <mach/hardware.h>
 
index 8fc6205dc3a5417fd3f0e12ea339db1d8932929a..181a78ba81654bdae53bda56c7ede38faad6063b 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/io.h>
 
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/netx-regs.h>
 
 #include <mach/xc.h>
index 7de7c69155840f2e84fddc23574bb9d74546afe5..4474da7bc88a0f613f2e4a544491b44bf6e889dd 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/platform_device.h>
 
 #include <mach/dma.h>
+#include <mach/irqs.h>
 #include <mach/mux.h>
 #include <mach/cpu.h>
 #include <mach/mcbsp.h>
index cae3ebe249b3cdbacb18ece2b34e06aba82d17d5..acdc709901cd1ca55f231ac79be495e1e0e67dc7 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/platform_device.h>
 
 #include <mach/dma.h>
+#include <mach/irqs.h>
 #include <mach/mux.h>
 #include <mach/cpu.h>
 #include <mach/mcbsp.h>
index 251129391d7dbcde5b723346cc402a2e4b07b4df..edcd9d5ce5455b600e5ad5a693f14340f0d4d7f7 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/mach/arch.h>
 #include <asm/mach-types.h>
 
+#include <mach/irqs.h>
 #include <mach/mfp-pxa25x.h>
 #include <mach/pxa-regs.h>
 #include <mach/hardware.h>
index bed0336aca3d1c1366d4c3a5826bbefed4875c59..77bb8e2c48c0ad7291c0df847284504fa69268eb 100644 (file)
@@ -28,6 +28,7 @@
 #include <mach/eseries-gpio.h>
 #include <mach/pxafb.h>
 #include <mach/udc.h>
+#include <mach/irqs.h>
 
 #include "generic.h"
 #include "eseries.h"
index b00d670b2ea6cb65039acf903b0da0e1a99fab72..6d48e00f4f0b444913f49cdcd58c01900cddf10d 100644 (file)
@@ -30,6 +30,7 @@
 #include <mach/eseries-gpio.h>
 #include <mach/udc.h>
 #include <mach/irda.h>
+#include <mach/irqs.h>
 
 #include "generic.h"
 #include "eseries.h"
index 84d7c1aac58d713658a2f2a8de2278e02ad5f86c..9a26f16c78665ea7a6865a2894382c677f1eeb6e 100644 (file)
@@ -29,6 +29,7 @@
 #include <mach/eseries-gpio.h>
 #include <mach/udc.h>
 #include <mach/irda.h>
+#include <mach/irqs.h>
 
 #include "generic.h"
 #include "eseries.h"
index 9a86a426f92408093485ddb9917b7a3857a1b81d..cc9b1293e8667b647349736b3f4584d9aba14687 100644 (file)
@@ -28,6 +28,7 @@
 #include <mach/hardware.h>
 #include <mach/eseries-gpio.h>
 #include <mach/udc.h>
+#include <mach/irqs.h>
 
 #include "generic.h"
 #include "eseries.h"
index 9565903d490b971f864a8f9ae271fdc9c4f07215..49efce8cd4a723e6b6bdc03f6bae2dc8afa6bba1 100644 (file)
 #ifndef __ASM_ARCH_IRQS_H
 #define __ASM_ARCH_IRQS_H __FILE__
 
-#ifndef __ASM_ARM_IRQ_H
-#error "Do not include this directly, instead #include <asm/irq.h>"
-#endif
-
 /* we keep the first set of CPU IRQs out of the range of
  * the ISA space, so that the PC104 has them to itself
  * and we don't end up having to do horrible things to the
index b38c47cffc28cd3481eddf6c05883168cfe615ff..4c97f9a4370b50c189e4d42284f9881adb1b99a5 100644 (file)
 #ifndef __ASM_ARCH_IRQS_H
 #define __ASM_ARCH_IRQS_H __FILE__
 
-#ifndef __ASM_ARM_IRQ_H
-#error "Do not include this directly, instead #include <asm/irq.h>"
-#endif
-
 #include <plat/irqs.h>
 
 #endif /* __ASM_ARCH_IRQ_H */
index 89a6ab0b7db81f21ad32ce1dee89c490bc582838..467531edefd3e0621cce0f5d7fca92d7b6fbe1dc 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/i2c.h>
+#include <mach/irqs.h>
 #include <mach/mux.h>
 
 #define OMAP_I2C_SIZE          0x3f
index 0454b8ec02e2aa9aac62186780024cc49ef1ea60..a90198fc4b0f3d31312c3314e4ffaed4186bf3e4 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/platform_device.h>
 #include <linux/fb.h>
 
+#include <mach/irqs.h>
 #include <mach/map.h>
 #include <mach/regs-fb.h>
 
index 2c0128c77c6e98385a11fc9c157be8caca7f5b44..fe327074037ea05d4d996cbe52be7ab9a2deae78 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/string.h>
 #include <linux/platform_device.h>
 
+#include <mach/irqs.h>
 #include <mach/map.h>
 
 #include <plat/regs-iic.h>
index 9658fb0aec951dd70924fa0cbbf73754877e7d34..2387fbf57af6da984b49dce28fcf08a55a6afee5 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/string.h>
 #include <linux/platform_device.h>
 
+#include <mach/irqs.h>
 #include <mach/map.h>
 
 #include <plat/regs-iic.h>
index ec56b88866c43d597b885290c7e3507c3cff9982..0120b760315ba3a881fdf1829739b015829479a4 100644 (file)
@@ -19,6 +19,8 @@
 #include <linux/io.h>
 #include <linux/pwm.h>
 
+#include <mach/irqs.h>
+
 #include <plat/devs.h>
 #include <plat/regs-timer.h>