diff options
author | Vitaliy Ivanov <vitalivanov@gmail.com> | 2011-06-20 10:08:07 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-06-20 10:08:19 -0400 |
commit | e44ba033c5654dbfda53461c9b1f7dd9bd1d198f (patch) | |
tree | 92654523983a855e466a332e104c0e51550a642d /drivers | |
parent | 1816315b10862277a961a70ec394b6607983041d (diff) |
treewide: remove duplicate includes
Many stupid corrections of duplicated includes based on the output of
scripts/checkincludes.pl.
Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
32 files changed, 8 insertions, 49 deletions
diff --git a/drivers/gpio/ab8500-gpio.c b/drivers/gpio/ab8500-gpio.c index 970053c89ff7..ed795e64eea7 100644 --- a/drivers/gpio/ab8500-gpio.c +++ b/drivers/gpio/ab8500-gpio.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/err.h> | 16 | #include <linux/err.h> |
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | #include <linux/slab.h> | ||
19 | #include <linux/gpio.h> | 18 | #include <linux/gpio.h> |
20 | #include <linux/irq.h> | 19 | #include <linux/irq.h> |
21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c b/drivers/gpu/drm/nouveau/nv50_graph.c index e25cbb46789a..40680f2b4231 100644 --- a/drivers/gpu/drm/nouveau/nv50_graph.c +++ b/drivers/gpu/drm/nouveau/nv50_graph.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include "nouveau_grctx.h" | 31 | #include "nouveau_grctx.h" |
32 | #include "nouveau_dma.h" | 32 | #include "nouveau_dma.h" |
33 | #include "nouveau_vm.h" | 33 | #include "nouveau_vm.h" |
34 | #include "nouveau_ramht.h" | ||
35 | #include "nv50_evo.h" | 34 | #include "nv50_evo.h" |
36 | 35 | ||
37 | struct nv50_graph_engine { | 36 | struct nv50_graph_engine { |
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c index e716b931cf7e..cd0c44e398e3 100644 --- a/drivers/media/rc/ite-cir.c +++ b/drivers/media/rc/ite-cir.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/bitops.h> | 42 | #include <linux/bitops.h> |
43 | #include <media/rc-core.h> | 43 | #include <media/rc-core.h> |
44 | #include <linux/pci_ids.h> | 44 | #include <linux/pci_ids.h> |
45 | #include <linux/delay.h> | ||
46 | 45 | ||
47 | #include "ite-cir.h" | 46 | #include "ite-cir.h" |
48 | 47 | ||
diff --git a/drivers/media/video/m5mols/m5mols_capture.c b/drivers/media/video/m5mols/m5mols_capture.c index d71a3903b60f..e1ae5653d3b1 100644 --- a/drivers/media/video/m5mols/m5mols_capture.c +++ b/drivers/media/video/m5mols/m5mols_capture.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
23 | #include <linux/regulator/consumer.h> | 23 | #include <linux/regulator/consumer.h> |
24 | #include <linux/videodev2.h> | 24 | #include <linux/videodev2.h> |
25 | #include <linux/version.h> | ||
26 | #include <media/v4l2-ctrls.h> | 25 | #include <media/v4l2-ctrls.h> |
27 | #include <media/v4l2-device.h> | 26 | #include <media/v4l2-device.h> |
28 | #include <media/v4l2-subdev.h> | 27 | #include <media/v4l2-subdev.h> |
diff --git a/drivers/media/video/videobuf2-memops.c b/drivers/media/video/videobuf2-memops.c index 5370a3a7ee25..b03c3aea5bea 100644 --- a/drivers/media/video/videobuf2-memops.c +++ b/drivers/media/video/videobuf2-memops.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/file.h> | 20 | #include <linux/file.h> |
21 | #include <linux/slab.h> | ||
22 | 21 | ||
23 | #include <media/videobuf2-core.h> | 22 | #include <media/videobuf2-core.h> |
24 | #include <media/videobuf2-memops.h> | 23 | #include <media/videobuf2-memops.h> |
diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c index 7e5cc0bd913d..ff212916810b 100644 --- a/drivers/net/can/c_can/c_can.c +++ b/drivers/net/can/c_can/c_can.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <linux/if_arp.h> | 34 | #include <linux/if_arp.h> |
35 | #include <linux/if_ether.h> | 35 | #include <linux/if_ether.h> |
36 | #include <linux/list.h> | 36 | #include <linux/list.h> |
37 | #include <linux/delay.h> | ||
38 | #include <linux/io.h> | 37 | #include <linux/io.h> |
39 | 38 | ||
40 | #include <linux/can.h> | 39 | #include <linux/can.h> |
diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c index cc90824f2c9c..0b071564d1dc 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/if_arp.h> | 28 | #include <linux/if_arp.h> |
29 | #include <linux/if_ether.h> | 29 | #include <linux/if_ether.h> |
30 | #include <linux/list.h> | 30 | #include <linux/list.h> |
31 | #include <linux/delay.h> | ||
32 | #include <linux/io.h> | 31 | #include <linux/io.h> |
33 | #include <linux/platform_device.h> | 32 | #include <linux/platform_device.h> |
34 | #include <linux/clk.h> | 33 | #include <linux/clk.h> |
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index ab5930099267..70f018d37399 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -66,15 +66,14 @@ | |||
66 | #include <asm/byteorder.h> | 66 | #include <asm/byteorder.h> |
67 | #include <asm/uaccess.h> | 67 | #include <asm/uaccess.h> |
68 | #include <asm/irq.h> | 68 | #include <asm/irq.h> |
69 | #include <asm/prom.h> | ||
69 | 70 | ||
70 | #ifdef CONFIG_SPARC | 71 | #ifdef CONFIG_SPARC |
71 | #include <asm/idprom.h> | 72 | #include <asm/idprom.h> |
72 | #include <asm/prom.h> | ||
73 | #endif | 73 | #endif |
74 | 74 | ||
75 | #ifdef CONFIG_PPC_PMAC | 75 | #ifdef CONFIG_PPC_PMAC |
76 | #include <asm/pci-bridge.h> | 76 | #include <asm/pci-bridge.h> |
77 | #include <asm/prom.h> | ||
78 | #include <asm/machdep.h> | 77 | #include <asm/machdep.h> |
79 | #include <asm/pmac_feature.h> | 78 | #include <asm/pmac_feature.h> |
80 | #endif | 79 | #endif |
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index ea9982781559..45dd20c0dc72 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include "debug.h" | 24 | #include "debug.h" |
25 | #include "base.h" | 25 | #include "base.h" |
26 | #include "reg.h" | 26 | #include "reg.h" |
27 | #include "debug.h" | ||
28 | 27 | ||
29 | /* return bus cachesize in 4B word units */ | 28 | /* return bus cachesize in 4B word units */ |
30 | static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) | 29 | static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) |
diff --git a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h index 22453b0873e4..11dc39c6987a 100644 --- a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h +++ b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h | |||
@@ -52,7 +52,6 @@ | |||
52 | #include "aggr_recv_api.h" | 52 | #include "aggr_recv_api.h" |
53 | #include <host_version.h> | 53 | #include <host_version.h> |
54 | #include <linux/rtnetlink.h> | 54 | #include <linux/rtnetlink.h> |
55 | #include <linux/init.h> | ||
56 | #include <linux/moduleparam.h> | 55 | #include <linux/moduleparam.h> |
57 | #include "ar6000_api.h" | 56 | #include "ar6000_api.h" |
58 | #ifdef CONFIG_HOST_TCMD_SUPPORT | 57 | #ifdef CONFIG_HOST_TCMD_SUPPORT |
diff --git a/drivers/staging/bcm/headers.h b/drivers/staging/bcm/headers.h index 1148e5e22eb9..8fe8d2b1f627 100644 --- a/drivers/staging/bcm/headers.h +++ b/drivers/staging/bcm/headers.h | |||
@@ -20,25 +20,23 @@ | |||
20 | #include <linux/file.h> | 20 | #include <linux/file.h> |
21 | #include <linux/string.h> | 21 | #include <linux/string.h> |
22 | #include <linux/etherdevice.h> | 22 | #include <linux/etherdevice.h> |
23 | #include <net/ip.h> | ||
24 | #include <linux/wait.h> | 23 | #include <linux/wait.h> |
25 | #include <linux/proc_fs.h> | 24 | #include <linux/proc_fs.h> |
26 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
27 | |||
28 | #include <linux/version.h> | 26 | #include <linux/version.h> |
29 | #include <linux/stddef.h> | 27 | #include <linux/stddef.h> |
30 | #include <linux/kernel.h> | ||
31 | #include <linux/stat.h> | 28 | #include <linux/stat.h> |
32 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
33 | #include <linux/unistd.h> | 30 | #include <linux/unistd.h> |
34 | #include <linux/sched.h> | 31 | #include <linux/sched.h> |
35 | #include <linux/mm.h> | 32 | #include <linux/mm.h> |
36 | #include <linux/pagemap.h> | 33 | #include <linux/pagemap.h> |
37 | #include <asm/uaccess.h> | ||
38 | #include <linux/kthread.h> | 34 | #include <linux/kthread.h> |
39 | #include <linux/tcp.h> | 35 | #include <linux/tcp.h> |
40 | #include <linux/udp.h> | 36 | #include <linux/udp.h> |
41 | #include <linux/usb.h> | 37 | #include <linux/usb.h> |
38 | #include <asm/uaccess.h> | ||
39 | #include <net/ip.h> | ||
42 | 40 | ||
43 | #include "Typedefs.h" | 41 | #include "Typedefs.h" |
44 | #include "Version.h" | 42 | #include "Version.h" |
@@ -61,7 +59,6 @@ | |||
61 | #include "Queue.h" | 59 | #include "Queue.h" |
62 | #include "vendorspecificextn.h" | 60 | #include "vendorspecificextn.h" |
63 | 61 | ||
64 | |||
65 | #include "InterfaceMacros.h" | 62 | #include "InterfaceMacros.h" |
66 | #include "InterfaceAdapter.h" | 63 | #include "InterfaceAdapter.h" |
67 | #include "InterfaceIsr.h" | 64 | #include "InterfaceIsr.h" |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c index a71c6f8ee8a3..8cbfeae464b1 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include BCMEMBEDIMAGE | 26 | #include BCMEMBEDIMAGE |
27 | #endif /* BCMEMBEDIMAGE */ | 27 | #endif /* BCMEMBEDIMAGE */ |
28 | 28 | ||
29 | #include <bcmdefs.h> | ||
30 | #include <bcmutils.h> | 29 | #include <bcmutils.h> |
31 | #include <bcmdevs.h> | 30 | #include <bcmdevs.h> |
32 | 31 | ||
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h index 996033cf9b09..d4bcc1edddb2 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h +++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h | |||
@@ -18,7 +18,6 @@ | |||
18 | #define _wl_cfg80211_h_ | 18 | #define _wl_cfg80211_h_ |
19 | 19 | ||
20 | #include <linux/wireless.h> | 20 | #include <linux/wireless.h> |
21 | #include <linux/wireless.h> | ||
22 | #include <net/cfg80211.h> | 21 | #include <net/cfg80211.h> |
23 | #include <wlioctl.h> | 22 | #include <wlioctl.h> |
24 | 23 | ||
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.c b/drivers/staging/brcm80211/brcmfmac/wl_iw.c index 15e1b05ca92d..ab843bc1d5d7 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_iw.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.c | |||
@@ -19,21 +19,16 @@ | |||
19 | #include <bcmdefs.h> | 19 | #include <bcmdefs.h> |
20 | #include <linux/netdevice.h> | 20 | #include <linux/netdevice.h> |
21 | #include <wlioctl.h> | 21 | #include <wlioctl.h> |
22 | |||
23 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
24 | |||
25 | #include <linux/if_arp.h> | 23 | #include <linux/if_arp.h> |
26 | #include <asm/uaccess.h> | 24 | #include <asm/uaccess.h> |
25 | #include <linux/ieee80211.h> | ||
27 | 26 | ||
28 | #include <dngl_stats.h> | 27 | #include <dngl_stats.h> |
29 | #include <dhd.h> | 28 | #include <dhd.h> |
30 | #include <dhdioctl.h> | 29 | #include <dhdioctl.h> |
31 | #include <linux/ieee80211.h> | ||
32 | typedef const struct si_pub si_t; | ||
33 | #include <wlioctl.h> | ||
34 | 30 | ||
35 | #include <dngl_stats.h> | 31 | typedef const struct si_pub si_t; |
36 | #include <dhd.h> | ||
37 | 32 | ||
38 | #define WL_ERROR(fmt, args...) printk(fmt, ##args) | 33 | #define WL_ERROR(fmt, args...) printk(fmt, ##args) |
39 | #define WL_TRACE(fmt, args...) no_printk(fmt, ##args) | 34 | #define WL_TRACE(fmt, args...) no_printk(fmt, ##args) |
diff --git a/drivers/staging/gma500/psb_2d.c b/drivers/staging/gma500/psb_2d.c index 0bd834c982d3..3aee8fc3734f 100644 --- a/drivers/staging/gma500/psb_2d.c +++ b/drivers/staging/gma500/psb_2d.c | |||
@@ -38,7 +38,6 @@ | |||
38 | 38 | ||
39 | #include "psb_drv.h" | 39 | #include "psb_drv.h" |
40 | #include "psb_reg.h" | 40 | #include "psb_reg.h" |
41 | #include "psb_drv.h" | ||
42 | #include "psb_fb.h" | 41 | #include "psb_fb.h" |
43 | 42 | ||
44 | void psb_spank(struct drm_psb_private *dev_priv) | 43 | void psb_spank(struct drm_psb_private *dev_priv) |
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 359e73741c48..b3324d609c8b 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/hiddev.h> | 24 | #include <linux/hiddev.h> |
25 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
26 | #include <linux/dmi.h> | 26 | #include <linux/dmi.h> |
27 | #include <linux/delay.h> | ||
28 | 27 | ||
29 | #include "hyperv.h" | 28 | #include "hyperv.h" |
30 | 29 | ||
diff --git a/drivers/staging/hv/tools/hv_kvp_daemon.c b/drivers/staging/hv/tools/hv_kvp_daemon.c index 33f0f1c8ad73..a4a407f7052a 100644 --- a/drivers/staging/hv/tools/hv_kvp_daemon.c +++ b/drivers/staging/hv/tools/hv_kvp_daemon.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <arpa/inet.h> | 35 | #include <arpa/inet.h> |
36 | #include <linux/connector.h> | 36 | #include <linux/connector.h> |
37 | #include <linux/netlink.h> | 37 | #include <linux/netlink.h> |
38 | #include <sys/socket.h> | ||
39 | #include <ifaddrs.h> | 38 | #include <ifaddrs.h> |
40 | #include <netdb.h> | 39 | #include <netdb.h> |
41 | #include <syslog.h> | 40 | #include <syslog.h> |
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 1a94364c48b5..72258e8c64ca 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/semaphore.h> | 21 | #include <linux/semaphore.h> |
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/notifier.h> | 23 | #include <linux/notifier.h> |
24 | #include <linux/workqueue.h> | ||
25 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
26 | #include "nvec.h" | 25 | #include "nvec.h" |
27 | 26 | ||
diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h index 3bb66dc2eb2c..4f380a64aa85 100644 --- a/drivers/staging/rtl8712/drv_types.h +++ b/drivers/staging/rtl8712/drv_types.h | |||
@@ -29,7 +29,6 @@ struct qos_priv { | |||
29 | 29 | ||
30 | #include "rtl871x_ht.h" | 30 | #include "rtl871x_ht.h" |
31 | #include "rtl871x_cmd.h" | 31 | #include "rtl871x_cmd.h" |
32 | #include "wlan_bssdef.h" | ||
33 | #include "rtl871x_xmit.h" | 32 | #include "rtl871x_xmit.h" |
34 | #include "rtl871x_recv.h" | 33 | #include "rtl871x_recv.h" |
35 | #include "rtl871x_security.h" | 34 | #include "rtl871x_security.h" |
diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 3d3f73c5cd5b..505395cff282 100644 --- a/drivers/staging/rtl8712/osdep_service.h +++ b/drivers/staging/rtl8712/osdep_service.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/sched.h> | 23 | #include <linux/sched.h> |
24 | #include <linux/kref.h> | 24 | #include <linux/kref.h> |
25 | #include <linux/netdevice.h> | ||
26 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
27 | #include <linux/usb.h> | 26 | #include <linux/usb.h> |
28 | #include <linux/usb/ch9.h> | 27 | #include <linux/usb/ch9.h> |
diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c index 52342c17eadd..848b4c57531d 100644 --- a/drivers/staging/sep/sep_driver.c +++ b/drivers/staging/sep/sep_driver.c | |||
@@ -50,7 +50,6 @@ | |||
50 | #include <linux/interrupt.h> | 50 | #include <linux/interrupt.h> |
51 | #include <linux/pagemap.h> | 51 | #include <linux/pagemap.h> |
52 | #include <asm/cacheflush.h> | 52 | #include <asm/cacheflush.h> |
53 | #include <linux/sched.h> | ||
54 | #include <linux/delay.h> | 53 | #include <linux/delay.h> |
55 | #include <linux/jiffies.h> | 54 | #include <linux/jiffies.h> |
56 | #include <linux/rar_register.h> | 55 | #include <linux/rar_register.h> |
diff --git a/drivers/staging/usbip/userspace/src/utils.h b/drivers/staging/usbip/userspace/src/utils.h index 6c29ae945212..991f662720bb 100644 --- a/drivers/staging/usbip/userspace/src/utils.h +++ b/drivers/staging/usbip/userspace/src/utils.h | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <glib.h> | 13 | #include <glib.h> |
14 | #include <unistd.h> | 14 | #include <unistd.h> |
15 | #include <stdio.h> | 15 | #include <stdio.h> |
16 | #include <sys/types.h> | ||
17 | #include <sys/stat.h> | 16 | #include <sys/stat.h> |
18 | #include <fcntl.h> | 17 | #include <fcntl.h> |
19 | #include <stdlib.h> | 18 | #include <stdlib.h> |
diff --git a/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h b/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h index 6426ea61f3d4..1e9212fbf1a6 100644 --- a/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h +++ b/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h | |||
@@ -315,5 +315,5 @@ void cy_as_hal_set_ep_dma_mode(uint8_t ep, bool sg_xfer_enabled); | |||
315 | /* moved to staging location | 315 | /* moved to staging location |
316 | #include <linux/westbridge/cyas_cplus_end.h> | 316 | #include <linux/westbridge/cyas_cplus_end.h> |
317 | */ | 317 | */ |
318 | #include "../../../../../../../include/linux/westbridge/cyas_cplus_start.h" | 318 | #include "../../../../../../../include/linux/westbridge/cyas_cplus_end.h" |
319 | #endif | 319 | #endif |
diff --git a/drivers/staging/westbridge/astoria/gadget/cyasgadget.h b/drivers/staging/westbridge/astoria/gadget/cyasgadget.h index e01cea7eeb77..668e03f9e8ad 100644 --- a/drivers/staging/westbridge/astoria/gadget/cyasgadget.h +++ b/drivers/staging/westbridge/astoria/gadget/cyasgadget.h | |||
@@ -54,19 +54,15 @@ | |||
54 | #include <linux/usb/ch9.h> | 54 | #include <linux/usb/ch9.h> |
55 | #include <linux/usb/gadget.h> | 55 | #include <linux/usb/gadget.h> |
56 | #include <linux/sched.h> | 56 | #include <linux/sched.h> |
57 | #include <linux/module.h> | ||
58 | #include <linux/init.h> | ||
57 | 59 | ||
58 | #include "../include/linux/westbridge/cyastoria.h" | 60 | #include "../include/linux/westbridge/cyastoria.h" |
59 | #include "../include/linux/westbridge/cyashal.h" | 61 | #include "../include/linux/westbridge/cyashal.h" |
60 | #include "../include/linux/westbridge/cyasdevice.h" | 62 | #include "../include/linux/westbridge/cyasdevice.h" |
61 | #include "cyasgadget_ioctl.h" | 63 | #include "cyasgadget_ioctl.h" |
62 | 64 | ||
63 | #include <linux/module.h> | ||
64 | #include <linux/init.h> | ||
65 | |||
66 | /*char driver defines, revisit*/ | 65 | /*char driver defines, revisit*/ |
67 | #include <linux/module.h> | ||
68 | #include <linux/moduleparam.h> | ||
69 | #include <linux/init.h> | ||
70 | #include <linux/fs.h> /* everything... */ | 66 | #include <linux/fs.h> /* everything... */ |
71 | #include <linux/errno.h> /* error codes */ | 67 | #include <linux/errno.h> /* error codes */ |
72 | #include <linux/types.h> /* size_t */ | 68 | #include <linux/types.h> /* size_t */ |
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index dee2a2c909f5..ee959032788e 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <scsi/scsi_host.h> | 31 | #include <scsi/scsi_host.h> |
32 | #include <scsi/scsi_device.h> | 32 | #include <scsi/scsi_device.h> |
33 | #include <scsi/scsi_cmnd.h> | 33 | #include <scsi/scsi_cmnd.h> |
34 | #include <scsi/scsi_tcq.h> | ||
35 | 34 | ||
36 | #include <target/target_core_base.h> | 35 | #include <target/target_core_base.h> |
37 | #include <target/target_core_transport.h> | 36 | #include <target/target_core_transport.h> |
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c index c056a1132ae1..7c22062ad621 100644 --- a/drivers/target/tcm_fc/tfc_cmd.c +++ b/drivers/target/tcm_fc/tfc_cmd.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include <target/target_core_device.h> | 45 | #include <target/target_core_device.h> |
46 | #include <target/target_core_tpg.h> | 46 | #include <target/target_core_tpg.h> |
47 | #include <target/target_core_configfs.h> | 47 | #include <target/target_core_configfs.h> |
48 | #include <target/target_core_base.h> | ||
49 | #include <target/target_core_tmr.h> | 48 | #include <target/target_core_tmr.h> |
50 | #include <target/configfs_macros.h> | 49 | #include <target/configfs_macros.h> |
51 | 50 | ||
diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c index 84e868c255dd..d963d9014973 100644 --- a/drivers/target/tcm_fc/tfc_conf.c +++ b/drivers/target/tcm_fc/tfc_conf.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <target/target_core_device.h> | 48 | #include <target/target_core_device.h> |
49 | #include <target/target_core_tpg.h> | 49 | #include <target/target_core_tpg.h> |
50 | #include <target/target_core_configfs.h> | 50 | #include <target/target_core_configfs.h> |
51 | #include <target/target_core_base.h> | ||
52 | #include <target/configfs_macros.h> | 51 | #include <target/configfs_macros.h> |
53 | 52 | ||
54 | #include "tcm_fc.h" | 53 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_io.c b/drivers/target/tcm_fc/tfc_io.c index 4c3c0efbe13f..b4433bec6934 100644 --- a/drivers/target/tcm_fc/tfc_io.c +++ b/drivers/target/tcm_fc/tfc_io.c | |||
@@ -53,7 +53,6 @@ | |||
53 | #include <target/target_core_device.h> | 53 | #include <target/target_core_device.h> |
54 | #include <target/target_core_tpg.h> | 54 | #include <target/target_core_tpg.h> |
55 | #include <target/target_core_configfs.h> | 55 | #include <target/target_core_configfs.h> |
56 | #include <target/target_core_base.h> | ||
57 | #include <target/configfs_macros.h> | 56 | #include <target/configfs_macros.h> |
58 | 57 | ||
59 | #include "tcm_fc.h" | 58 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c index a3bd57f2ea32..65d8ea09e3fe 100644 --- a/drivers/target/tcm_fc/tfc_sess.c +++ b/drivers/target/tcm_fc/tfc_sess.c | |||
@@ -46,10 +46,8 @@ | |||
46 | #include <target/target_core_device.h> | 46 | #include <target/target_core_device.h> |
47 | #include <target/target_core_tpg.h> | 47 | #include <target/target_core_tpg.h> |
48 | #include <target/target_core_configfs.h> | 48 | #include <target/target_core_configfs.h> |
49 | #include <target/target_core_base.h> | ||
50 | #include <target/configfs_macros.h> | 49 | #include <target/configfs_macros.h> |
51 | 50 | ||
52 | #include <scsi/libfc.h> | ||
53 | #include "tcm_fc.h" | 51 | #include "tcm_fc.h" |
54 | 52 | ||
55 | static void ft_sess_delete_all(struct ft_tport *); | 53 | static void ft_sess_delete_all(struct ft_tport *); |
diff --git a/drivers/usb/otg/otg_fsm.c b/drivers/usb/otg/otg_fsm.c index b0cc422f2ff9..09117387d2a4 100644 --- a/drivers/usb/otg/otg_fsm.c +++ b/drivers/usb/otg/otg_fsm.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/usb.h> | 28 | #include <linux/usb.h> |
29 | #include <linux/usb/gadget.h> | 29 | #include <linux/usb/gadget.h> |
30 | #include <linux/usb/otg.h> | 30 | #include <linux/usb/otg.h> |
31 | #include <linux/types.h> | ||
32 | 31 | ||
33 | #include "otg_fsm.h" | 32 | #include "otg_fsm.h" |
34 | 33 | ||
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 52b0f3e8ccac..14b152a99d13 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/prefetch.h> | 30 | #include <linux/prefetch.h> |
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/prefetch.h> | ||
33 | #include <video/udlfb.h> | 32 | #include <video/udlfb.h> |
34 | #include "edid.h" | 33 | #include "edid.h" |
35 | 34 | ||
diff --git a/drivers/watchdog/intel_scu_watchdog.c b/drivers/watchdog/intel_scu_watchdog.c index 919bdd16136f..ba4386066a42 100644 --- a/drivers/watchdog/intel_scu_watchdog.c +++ b/drivers/watchdog/intel_scu_watchdog.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/sched.h> | 42 | #include <linux/sched.h> |
43 | #include <linux/signal.h> | 43 | #include <linux/signal.h> |
44 | #include <linux/sfi.h> | 44 | #include <linux/sfi.h> |
45 | #include <linux/types.h> | ||
46 | #include <asm/irq.h> | 45 | #include <asm/irq.h> |
47 | #include <asm/atomic.h> | 46 | #include <asm/atomic.h> |
48 | #include <asm/intel_scu_ipc.h> | 47 | #include <asm/intel_scu_ipc.h> |