[ARM] Eliminate useless includes of asm/mach-types.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 3 Aug 2008 14:06:16 +0000 (15:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Aug 2008 08:40:04 +0000 (09:40 +0100)
There are 43 includes of asm/mach-types.h by files that don't
reference anything from that file.  Remove these unnecessary
includes.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
43 files changed:
arch/arm/boot/compressed/head-xscale.S
arch/arm/common/sharpsl_pm.c
arch/arm/kernel/head-nommu.S
arch/arm/mach-at91/clock.c
arch/arm/mach-at91/irq.c
arch/arm/mach-at91/leds.c
arch/arm/mach-at91/pm.c
arch/arm/mach-iop13xx/irq.c
arch/arm/mach-iop33x/uart.c
arch/arm/mach-ixp23xx/core.c
arch/arm/mach-ixp23xx/pci.c
arch/arm/mach-ks8695/leds.c
arch/arm/mach-mx2/clock_imx27.c
arch/arm/mach-mx2/pcm970-baseboard.c
arch/arm/mach-ns9xxx/irq.c
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/pm.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-pnx4008/irq.c
arch/arm/mach-pnx4008/pm.c
arch/arm/mach-sa1100/collie_pm.c
arch/arm/plat-iop/i2c.c
arch/arm/plat-iop/pci.c
arch/arm/plat-omap/fb.c
arch/arm/plat-omap/i2c.c
drivers/i2c/busses/i2c-davinci.c
drivers/i2c/chips/menelaus.c
drivers/ide/arm/ide_arm.c
drivers/input/keyboard/omap-keypad.c
drivers/input/keyboard/pxa27x_keypad.c
drivers/leds/leds-corgi.c
drivers/mmc/host/omap.c
drivers/net/ixp2000/ixpdev.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/s3c2410_udc.c
drivers/usb/host/ohci-at91.c
drivers/usb/host/ohci-ep93xx.c
drivers/usb/host/ohci-pnx4008.c
drivers/usb/host/ohci-pxa27x.c
drivers/video/omap/omapfb_main.c
include/asm-arm/arch-ixp23xx/memory.h
sound/soc/davinci/davinci-evm.c
sound/soc/s3c24xx/neo1973_wm8753.c

index dd3fbd6766e14a6168aa8515c6c4a6e123d47166..aa5ee49c5c5ae7c1e37b6ab281a2f09388902f57 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/linkage.h>
-#include <asm/mach-types.h>
 
                .section        ".start", "ax"
 
index 8822b684d474ad322b71bbcf3fe457316fdba775..7a1f9e3581fdaf3531b5d2607f3d0dfcaa9bff24 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/suspend.h>
 
 #include <asm/hardware.h>
-#include <asm/mach-types.h>
 #include <asm/irq.h>
 #include <asm/arch/pm.h>
 #include <asm/arch/pxa-regs.h>
index 5d78ffb8a9a7fe0e653f9356d5b873896492a53c..27329bd32037a714070535ae1677e30271881ee1 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/init.h>
 
 #include <asm/assembler.h>
-#include <asm/mach-types.h>
 #include <asm/ptrace.h>
 #include <asm/asm-offsets.h>
 #include <asm/thread_info.h>
index 464bdbbf74df1eca1cb8519617ff8bcac6cbeec8..3ce0012928c4bfe19d1c08d264f2b46f997b0457 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/clk.h>
 
 #include <asm/io.h>
-#include <asm/mach-types.h>
 
 #include <asm/hardware.h>
 #include <asm/arch/at91_pmc.h>
index ca87587b2b4b0f28ef70ecfade042f30b4e26fde..fc059ec4b0213ff20046811314f7442106a87aea 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <asm/hardware.h>
 #include <asm/irq.h>
-#include <asm/mach-types.h>
 #include <asm/setup.h>
 
 #include <asm/mach/arch.h>
index 9cdcda500fe8195324cfe86d4cc1670381142ac1..f064b7acb011a8b84b17232ae1e770d80235a6e6 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/module.h>
 #include <linux/init.h>
 
-#include <asm/mach-types.h>
 #include <asm/arch/board.h>
 #include <asm/arch/gpio.h>
 
index 8ab4feb1ec5bc550f51a706d4ed42e3812ca8aca..a5cfe866c9ddf2915f12d50c6eccb814b961fb29 100644 (file)
@@ -23,7 +23,6 @@
 #include <asm/atomic.h>
 #include <asm/mach/time.h>
 #include <asm/mach/irq.h>
-#include <asm/mach-types.h>
 
 #include <asm/arch/at91_pmc.h>
 #include <asm/arch/gpio.h>
index 69f07b25b3c9d752b364c718fbfc859a0c0d419e..cffd06530781c592509b52112b8fdcdfea1f903e 100644 (file)
@@ -24,7 +24,6 @@
 #include <asm/mach/irq.h>
 #include <asm/irq.h>
 #include <asm/hardware.h>
-#include <asm/mach-types.h>
 #include <asm/arch/irqs.h>
 #include <asm/arch/msi.h>
 
index ac297cd0276c0f0a4bf9b9713071c80c3b3aea38..46318665f0dc00fedba45976637cce7f399ea0a6 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/memory.h>
 #include <asm/hardware.h>
 #include <asm/hardware/iop3xx.h>
-#include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
 #define IOP33X_UART_XTAL 33334000
index df16a4eac4907ecb03862fbbe636750724da350a..9a1f18ddd3eb6e8caeb9a0e08eef02f5b90dccbe 100644 (file)
@@ -33,7 +33,6 @@
 #include <asm/setup.h>
 #include <asm/memory.h>
 #include <asm/hardware.h>
-#include <asm/mach-types.h>
 #include <asm/irq.h>
 #include <asm/system.h>
 #include <asm/tlbflush.h>
index 227f808dc0ecc8a52723d1003ed30d9c014907e9..db24c43449d7472896f2c9062f81ac872be20cb4 100644 (file)
@@ -31,7 +31,6 @@
 #include <asm/sizes.h>
 #include <asm/system.h>
 #include <asm/mach/pci.h>
-#include <asm/mach-types.h>
 #include <asm/hardware.h>
 
 extern int (*external_fault) (unsigned long, struct pt_regs *);
index d61762ae50d88513482e99734263a2dbcf21545a..17c5ef13b0d1a4cd7aa4e6ad5804ae4aafdee7b3 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/module.h>
 #include <linux/init.h>
 
-#include <asm/mach-types.h>
 #include <asm/leds.h>
 #include <asm/arch/devices.h>
 #include <asm/arch/gpio.h>
index 0a29ef29c73a76bf0545635a716ca8eb7915759a..4af6f4f06e8213becd436b6ad528ce1b162ae1db 100644 (file)
@@ -25,7 +25,6 @@
 #include <asm/arch/clock.h>
 #include <asm/arch/common.h>
 #include <asm/div64.h>
-#include <asm/mach-types.h>
 
 #include "crm_regs.h"
 
index 028ac4d33684c7366ee6a54f16b88597eca60ac7..ede77f7e6c15ce6568135328ab6ad69934ae73f1 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <linux/platform_device.h>
 #include <asm/hardware.h>
-#include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
 /*
index d2964257797e7e8aa65e7b18df82210ed8aefbe2..96de8ebed41d20a23450eabf4532a7835c0a9952 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/kernel_stat.h>
 #include <asm/io.h>
 #include <asm/mach/irq.h>
-#include <asm/mach-types.h>
 #include <asm/arch/regs-sys-common.h>
 #include <asm/arch/irqs.h>
 #include <asm/arch/board.h>
index da8a3ac47e136c52dfc122641d866d207f1233b7..88b4b979a8bc92b8928b3dc4401406380230f1b2 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm/hardware.h>
 #include <asm/io.h>
-#include <asm/mach-types.h>
 #include <asm/mach/map.h>
 
 #include <asm/arch/tc.h>
index 742f79e73bd7abeb49bd9013d188f0b1d323cca8..bb06de92daee0b79646678918d0f81e58c5d3189 100644 (file)
@@ -47,7 +47,6 @@
 #include <asm/atomic.h>
 #include <asm/mach/time.h>
 #include <asm/mach/irq.h>
-#include <asm/mach-types.h>
 
 #include <asm/arch/cpu.h>
 #include <asm/arch/irqs.h>
index d6c9de82ca0c0c30b3ce0c549a185c79e7e22577..5e6e595d8eff7d3276118eb64752cb5e0b5d17f3 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/atomic.h>
 #include <asm/mach/time.h>
 #include <asm/mach/irq.h>
-#include <asm/mach-types.h>
 
 #include <asm/arch/irqs.h>
 #include <asm/arch/clock.h>
index 5ed67e1947a8bda3ca268b10af7617cb32d66677..a3e20058e271eff07a4773732a605cae0327e41e 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/setup.h>
-#include <asm/mach-types.h>
 #include <asm/pgtable.h>
 #include <asm/page.h>
 #include <asm/system.h>
index 40116d2543496c284af73a8fde5d94c789951cd5..52c51f91ed8ae0f9e81c86d563fd03fdc1e35eb6 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/clk.h>
 
 #include <asm/io.h>
-#include <asm/mach-types.h>
 #include <asm/cacheflush.h>
 #include <asm/arch/pm.h>
 #include <asm/arch/clock.h>
index 94620be7bfac15ba366c90bca5bac761b98146ed..26ddb8ad4685b2971b0091e8ef3b5537b7311c82 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/platform_device.h>
 
 #include <asm/irq.h>
-#include <asm/mach-types.h>
 #include <asm/hardware.h>
 #include <asm/hardware/scoop.h>
 #include <asm/dma.h>
index e99909bdba71ef5d46804fe013364cb995805654..dad474c1516b7ecaa8960b91ab73074128d59b54 100644 (file)
@@ -27,7 +27,6 @@
 #include <asm/memory.h>
 #include <asm/hardware.h>
 #include <asm/hardware/iop3xx.h>
-#include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
 #ifdef CONFIG_ARCH_IOP32X
index d9bc15a69e5ddc103337ad18f79d7b0dc0c7499f..06f114a256844900fa58a57bfca16df29bd7848d 100644 (file)
@@ -24,7 +24,6 @@
 #include <asm/hardware.h>
 #include <asm/mach/pci.h>
 #include <asm/hardware/iop3xx.h>
-#include <asm/mach-types.h>
 
 // #define DEBUG
 
index 5d107520e6b90348a5d168c25da557613d41d04f..52002ac58badfa791fb49f3fb624e895f8e6e701 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <asm/hardware.h>
 #include <asm/io.h>
-#include <asm/mach-types.h>
 #include <asm/mach/map.h>
 
 #include <asm/arch/board.h>
index 7990ab185bb1f7eeed556e0d533ed7429551323b..647ed5971c60e089ba607a0fcac58357850cf110 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/i2c.h>
-#include <asm/mach-types.h>
 #include <asm/arch/mux.h>
 
 #define OMAP_I2C_SIZE          0x3f
index af3846eda9858e15bd233aa6fe3172333fac5971..4f427a51243bec27e2b4bfda9e241576865f9c0d 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/io.h>
 
 #include <asm/hardware.h>
-#include <asm/mach-types.h>
 
 #include <asm/arch/i2c.h>
 
index b36db1797c11138982171b421c45a325bab01a62..e3c12e365c4920bee8653b15e2950cc73aae1231 100644 (file)
@@ -41,7 +41,6 @@
 #include <linux/rtc.h>
 #include <linux/bcd.h>
 
-#include <asm/mach-types.h>
 #include <asm/mach/irq.h>
 
 #include <asm/arch/gpio.h>
index 176532ffae0efcc5b2b28fffef70de95da378475..8a3bb23f8ae7a17313ca44f48c9ced52828b494b 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/init.h>
 #include <linux/ide.h>
 
-#include <asm/mach-types.h>
 #include <asm/irq.h>
 
 #define DRV_NAME "ide_arm"
index 10afd2068068aa35fe5ae1f84d0f034cf746e625..435ac071aab358334dc3904e7157b9c78346cefd 100644 (file)
@@ -40,7 +40,6 @@
 #include <asm/irq.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
-#include <asm/mach-types.h>
 #include <asm/arch/mux.h>
 
 #undef NEW_BOARD_LEARNING_MODE
index 6f1516f5075072ebde372743713e504685b8d990..8a925359d82e0e14ff93e37ea2cb753eacdaf822 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 
-#include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
index a709704b9f933c3af919f07d3fc54cffb0d68f22..e9d419ff784e30feeb9bfee54d6b42dbc931f16f 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/leds.h>
-#include <asm/mach-types.h>
 #include <asm/arch/corgi.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/pxa-regs.h>
index dbc26eb6a89e06c280f263a88ed02a20736220e7..1f587a239b02abfc0413b2a46b7fe8b77f4bdebd 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/mach-types.h>
 
 #include <asm/arch/board.h>
 #include <asm/arch/mmc.h>
index 7111c65f0b30e4b2e3e77f999cf500e6304bba2b..7b70c66504a04fde3f177d92b085034486294349 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/init.h>
 #include <linux/moduleparam.h>
 #include <asm/hardware/uengine.h>
-#include <asm/mach-types.h>
 #include <asm/io.h>
 #include "ixp2400_rx.ucode"
 #include "ixp2400_tx.ucode"
index e2d8a5d86c40d079ad82a07ef3514ae8d178b08b..895fb6b96aeddfe74a9501a0770f873403ed1d31 100644 (file)
@@ -44,7 +44,6 @@
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/system.h>
-#include <asm/mach-types.h>
 #include <asm/gpio.h>
 
 #include <asm/arch/board.h>
index 6b1ef488043bc5f1437b78b27d64e7d7d3d004ec..021955a57722b411d1499980b1ea7b1b9815ab46 100644 (file)
@@ -57,7 +57,6 @@
 #include <asm/plat-s3c24xx/regs-udc.h>
 #include <asm/plat-s3c24xx/udc.h>
 
-#include <asm/mach-types.h>
 
 #include "s3c2410_udc.h"
 
index a5d8e550d897e31f888bb398a62c7008dc54d16a..3eae40f8743fda73931e4cebc5c14d148d3b9a6e 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/clk.h>
 #include <linux/platform_device.h>
 
-#include <asm/mach-types.h>
 #include <asm/hardware.h>
 #include <asm/gpio.h>
 
index 5adaf36e47d05627dd1d9a884895ceaa28608aef..e19b07d35ea8ea3151f0ad5758f6e4bee34af070 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/signal.h>
 #include <linux/platform_device.h>
 
-#include <asm/mach-types.h>
 #include <asm/hardware.h>
 
 static struct clk *usb_host_clock;
index 6ad8f2fc57b92b819e873292c3c0bfe08141995b..037956a60bfa7353b58332bd616541cb1ed65485 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <asm/hardware.h>
 #include <asm/io.h>
-#include <asm/mach-types.h>
 
 #include <asm/arch/platform.h>
 #include <asm/arch/irqs.h>
index 127b1579902458a08e1765b08d21660c0c14585b..1f516d6cf514301f45240fbed2822efae92040f9 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/platform_device.h>
 #include <linux/clk.h>
 
-#include <asm/mach-types.h>
 #include <asm/hardware.h>
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/pxa2xx-regs.h> /* FIXME: for PSSR */
index f85af5c4fa688a2c6d9be356fa6bd974c89a74f7..d9abc48a210b02de83fb6548024ba1d9ba61cd3e 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/mm.h>
 #include <linux/uaccess.h>
 
-#include <asm/mach-types.h>
 #include <asm/arch/dma.h>
 #include <asm/arch/omapfb.h>
 
index 6d859d742d7f5e405c705a46d4182448ffbad434..6940a14f32a0abb58fa07f14b08fd72fbe21e3c7 100644 (file)
@@ -28,7 +28,6 @@
  *             to an address that the kernel can use.
  */
 #ifndef __ASSEMBLY__
-#include <asm/mach-types.h>
 
 #define __virt_to_bus(v)                                               \
        ({ unsigned int ret;                                            \
index 5e2c306399edac83170615b47bab77e379113036..0722eebe3d6a7762f1e5ca6bc002ebbfec3583e0 100644 (file)
@@ -19,7 +19,6 @@
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
 
-#include <asm/mach-types.h>
 #include <asm/dma.h>
 #include <asm/arch/hardware.h>
 
index 4d7a9aa15f1a8cc20f41d390f5a0f87bcb35dcaf..22e281ef639eac7c49f3d68e541276d9bd4549fe 100644 (file)
@@ -24,7 +24,6 @@
 #include <sound/soc-dapm.h>
 #include <sound/tlv.h>
 
-#include <asm/mach-types.h>
 #include <asm/hardware/scoop.h>
 #include <asm/arch/regs-clock.h>
 #include <asm/arch/regs-gpio.h>