Commit fc611a1a50caa04bae82ed3c1fc6505132f8343f

Authored by Russell King
Committed by Russell King
1 parent d087790447

[ARM] Don't include mach-types.h unnecessarily

It's pointless to include mach-types.h if you're not going to use
anything from it.  These references were removed as a result of:

grep -lr 'asm/mach-types\.h' . | xargs grep -L 'machine_is_\|MACH_TYPE_\|MACHINE_START\|machine_type'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 30 changed files with 0 additions and 31 deletions Side-by-side Diff

arch/arm/common/locomo.c
... ... @@ -27,7 +27,6 @@
27 27 #include <linux/spinlock.h>
28 28  
29 29 #include <asm/hardware.h>
30   -#include <asm/mach-types.h>
31 30 #include <asm/io.h>
32 31 #include <asm/irq.h>
33 32 #include <asm/mach/irq.h>
arch/arm/mach-imx/leds-mx1ads.c
... ... @@ -17,7 +17,6 @@
17 17 #include <asm/system.h>
18 18 #include <asm/io.h>
19 19 #include <asm/leds.h>
20   -#include <asm/mach-types.h>
21 20 #include "leds.h"
22 21  
23 22 /*
arch/arm/mach-iop3xx/common.c
... ... @@ -27,7 +27,6 @@
27 27 /*
28 28 * Default power-off for EP80219
29 29 */
30   -#include <asm/mach-types.h>
31 30  
32 31 static inline void ep80219_send_to_pic(__u8 c) {
33 32 }
arch/arm/mach-iop3xx/iop321-time.c
... ... @@ -23,7 +23,6 @@
23 23 #include <asm/io.h>
24 24 #include <asm/irq.h>
25 25 #include <asm/uaccess.h>
26   -#include <asm/mach-types.h>
27 26 #include <asm/mach/irq.h>
28 27 #include <asm/mach/time.h>
29 28  
arch/arm/mach-iop3xx/iop331-time.c
... ... @@ -23,7 +23,6 @@
23 23 #include <asm/io.h>
24 24 #include <asm/irq.h>
25 25 #include <asm/uaccess.h>
26   -#include <asm/mach-types.h>
27 26 #include <asm/mach/irq.h>
28 27 #include <asm/mach/time.h>
29 28  
arch/arm/mach-iop3xx/iq31244-mm.c
... ... @@ -21,7 +21,6 @@
21 21 #include <asm/page.h>
22 22  
23 23 #include <asm/mach/map.h>
24   -#include <asm/mach-types.h>
25 24  
26 25  
27 26 /*
arch/arm/mach-iop3xx/iq80321-mm.c
... ... @@ -21,7 +21,6 @@
21 21 #include <asm/page.h>
22 22  
23 23 #include <asm/mach/map.h>
24   -#include <asm/mach-types.h>
25 24  
26 25  
27 26 /*
arch/arm/mach-iop3xx/iq80331-mm.c
... ... @@ -21,7 +21,6 @@
21 21 #include <asm/page.h>
22 22  
23 23 #include <asm/mach/map.h>
24   -#include <asm/mach-types.h>
25 24  
26 25  
27 26 /*
arch/arm/mach-iop3xx/iq80332-mm.c
... ... @@ -21,7 +21,6 @@
21 21 #include <asm/page.h>
22 22  
23 23 #include <asm/mach/map.h>
24   -#include <asm/mach-types.h>
25 24  
26 25  
27 26 /*
arch/arm/mach-ixp2000/core.c
... ... @@ -30,7 +30,6 @@
30 30 #include <asm/setup.h>
31 31 #include <asm/memory.h>
32 32 #include <asm/hardware.h>
33   -#include <asm/mach-types.h>
34 33 #include <asm/irq.h>
35 34 #include <asm/system.h>
36 35 #include <asm/tlbflush.h>
arch/arm/mach-ixp2000/pci.c
... ... @@ -28,7 +28,6 @@
28 28 #include <asm/io.h>
29 29 #include <asm/irq.h>
30 30 #include <asm/system.h>
31   -#include <asm/mach-types.h>
32 31 #include <asm/hardware.h>
33 32  
34 33 #include <asm/mach/pci.h>
arch/arm/mach-pxa/corgi_lcd.c
... ... @@ -19,7 +19,6 @@
19 19 #include <linux/kernel.h>
20 20 #include <linux/device.h>
21 21 #include <linux/module.h>
22   -#include <asm/mach-types.h>
23 22 #include <asm/arch/akita.h>
24 23 #include <asm/arch/corgi.h>
25 24 #include <asm/arch/hardware.h>
arch/arm/mach-s3c2410/usb-simtec.c
... ... @@ -40,7 +40,6 @@
40 40 #include <asm/hardware.h>
41 41 #include <asm/io.h>
42 42 #include <asm/irq.h>
43   -#include <asm/mach-types.h>
44 43  
45 44 #include "devs.h"
46 45 #include "usb-simtec.h"
arch/arm/mach-versatile/core.c
... ... @@ -30,7 +30,6 @@
30 30 #include <asm/io.h>
31 31 #include <asm/irq.h>
32 32 #include <asm/leds.h>
33   -#include <asm/mach-types.h>
34 33 #include <asm/hardware/amba.h>
35 34 #include <asm/hardware/amba_clcd.h>
36 35 #include <asm/hardware/arm_timer.h>
arch/arm/mach-versatile/pci.c
... ... @@ -29,7 +29,6 @@
29 29 #include <asm/irq.h>
30 30 #include <asm/system.h>
31 31 #include <asm/mach/pci.h>
32   -#include <asm/mach-types.h>
33 32  
34 33 /*
35 34 * these spaces are mapped using the following base registers:
arch/arm/plat-omap/common.c
... ... @@ -25,7 +25,6 @@
25 25 #include <asm/mach/map.h>
26 26 #include <asm/hardware/clock.h>
27 27 #include <asm/io.h>
28   -#include <asm/mach-types.h>
29 28 #include <asm/setup.h>
30 29  
31 30 #include <asm/arch/board.h>
arch/arm/plat-omap/cpu-omap.c
... ... @@ -21,7 +21,6 @@
21 21 #include <linux/err.h>
22 22  
23 23 #include <asm/hardware.h>
24   -#include <asm/mach-types.h>
25 24 #include <asm/io.h>
26 25 #include <asm/system.h>
27 26  
arch/arm/plat-omap/usb.c
... ... @@ -33,7 +33,6 @@
33 33 #include <asm/irq.h>
34 34 #include <asm/system.h>
35 35 #include <asm/hardware.h>
36   -#include <asm/mach-types.h>
37 36  
38 37 #include <asm/arch/mux.h>
39 38 #include <asm/arch/usb.h>
drivers/mtd/maps/bast-flash.c
... ... @@ -39,7 +39,6 @@
39 39 #include <linux/mtd/partitions.h>
40 40  
41 41 #include <asm/io.h>
42   -#include <asm/mach-types.h>
43 42 #include <asm/mach/flash.h>
44 43  
45 44 #include <asm/arch/map.h>
drivers/mtd/maps/ixp2000.c
... ... @@ -30,7 +30,6 @@
30 30  
31 31 #include <asm/io.h>
32 32 #include <asm/hardware.h>
33   -#include <asm/mach-types.h>
34 33 #include <asm/mach/flash.h>
35 34  
36 35 #include <linux/reboot.h>
drivers/mtd/maps/ixp4xx.c
... ... @@ -26,7 +26,6 @@
26 26 #include <linux/ioport.h>
27 27 #include <linux/device.h>
28 28 #include <asm/io.h>
29   -#include <asm/mach-types.h>
30 29 #include <asm/mach/flash.h>
31 30  
32 31 #include <linux/reboot.h>
drivers/mtd/maps/omap_nor.c
... ... @@ -42,7 +42,6 @@
42 42  
43 43 #include <asm/io.h>
44 44 #include <asm/hardware.h>
45   -#include <asm/mach-types.h>
46 45 #include <asm/mach/flash.h>
47 46 #include <asm/arch/tc.h>
48 47  
drivers/mtd/maps/sa1100-flash.c
... ... @@ -21,7 +21,6 @@
21 21 #include <linux/mtd/partitions.h>
22 22 #include <linux/mtd/concat.h>
23 23  
24   -#include <asm/mach-types.h>
25 24 #include <asm/io.h>
26 25 #include <asm/sizes.h>
27 26 #include <asm/mach/flash.h>
drivers/mtd/nand/s3c2410.c
... ... @@ -58,7 +58,6 @@
58 58 #include <linux/mtd/partitions.h>
59 59  
60 60 #include <asm/io.h>
61   -#include <asm/mach-types.h>
62 61 #include <asm/hardware/clock.h>
63 62  
64 63 #include <asm/arch/regs-nand.h>
drivers/pcmcia/omap_cf.c
... ... @@ -22,7 +22,6 @@
22 22  
23 23 #include <asm/hardware.h>
24 24 #include <asm/io.h>
25   -#include <asm/mach-types.h>
26 25 #include <asm/sizes.h>
27 26  
28 27 #include <asm/arch/mux.h>
drivers/serial/s3c2410.c
... ... @@ -82,8 +82,6 @@
82 82 #include <asm/arch/regs-serial.h>
83 83 #include <asm/arch/regs-gpio.h>
84 84  
85   -#include <asm/mach-types.h>
86   -
87 85 /* structures */
88 86  
89 87 struct s3c24xx_uart_info {
drivers/usb/host/ohci-lh7a404.c
... ... @@ -17,7 +17,6 @@
17 17 */
18 18  
19 19 #include <asm/hardware.h>
20   -#include <asm/mach-types.h>
21 20  
22 21  
23 22 extern int usb_disabled(void);
drivers/usb/host/ohci-s3c2410.c
... ... @@ -20,7 +20,6 @@
20 20 */
21 21  
22 22 #include <asm/hardware.h>
23   -#include <asm/mach-types.h>
24 23 #include <asm/hardware/clock.h>
25 24 #include <asm/arch/usb-control.h>
26 25  
drivers/video/backlight/corgi_bl.c
... ... @@ -19,7 +19,6 @@
19 19 #include <linux/fb.h>
20 20 #include <linux/backlight.h>
21 21  
22   -#include <asm/mach-types.h>
23 22 #include <asm/arch/sharpsl.h>
24 23  
25 24 #define CORGI_DEFAULT_INTENSITY 0x1f
drivers/video/imxfb.c
... ... @@ -36,7 +36,6 @@
36 36  
37 37 #include <asm/hardware.h>
38 38 #include <asm/io.h>
39   -#include <asm/mach-types.h>
40 39 #include <asm/uaccess.h>
41 40 #include <asm/arch/imxfb.h>
42 41