Browse Source

[PATCH] remove many unneeded #includes of sched.h

After Al Viro (finally) succeeded in removing the sched.h #include in module.h
recently, it makes sense again to remove other superfluous sched.h includes.
There are quite a lot of files which include it but don't actually need
anything defined in there.  Presumably these includes were once needed for
macros that used to live in sched.h, but moved to other header files in the
course of cleaning it up.

To ease the pain, this time I did not fiddle with any header files and only
removed #includes from .c-files, which tend to cause less trouble.

Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
configs in arch/arm/configs on arm.  I also checked that no new warnings were
introduced by the patch (actually, some warnings are removed that were emitted
by unnecessarily included header files).

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
imx_3.10.17_1.0.0_ga
Tim Schmielau 14 years ago
committed by Linus Torvalds
parent
commit
cd354f1ae7
553 changed files with 6 additions and 553 deletions
  1. +0
    -1
      drivers/acorn/block/mfmhd.c
  2. +0
    -1
      drivers/acorn/char/i2c.c
  3. +0
    -1
      drivers/acpi/i2c_ec.c
  4. +0
    -1
      drivers/acpi/sleep/poweroff.c
  5. +0
    -1
      drivers/acpi/tables.c
  6. +2
    -1
      drivers/acpi/thermal.c
  7. +0
    -1
      drivers/ata/ahci.c
  8. +0
    -1
      drivers/ata/pdc_adma.c
  9. +0
    -1
      drivers/ata/sata_mv.c
  10. +0
    -1
      drivers/ata/sata_promise.c
  11. +0
    -1
      drivers/ata/sata_qstor.c
  12. +0
    -1
      drivers/ata/sata_sx4.c
  13. +0
    -1
      drivers/atm/adummy.c
  14. +0
    -1
      drivers/atm/fore200e.c
  15. +0
    -1
      drivers/atm/idt77105.c
  16. +0
    -1
      drivers/atm/uPD98402.c
  17. +0
    -1
      drivers/atm/zatm.c
  18. +0
    -1
      drivers/block/acsi.c
  19. +0
    -1
      drivers/block/paride/pd.c
  20. +0
    -1
      drivers/block/umem.c
  21. +0
    -1
      drivers/bluetooth/bfusb.c
  22. +0
    -1
      drivers/bluetooth/bt3c_cs.c
  23. +0
    -1
      drivers/bluetooth/btuart_cs.c
  24. +0
    -1
      drivers/bluetooth/dtl1_cs.c
  25. +0
    -1
      drivers/bluetooth/hci_bcsp.c
  26. +0
    -1
      drivers/bluetooth/hci_h4.c
  27. +0
    -1
      drivers/bluetooth/hci_ldisc.c
  28. +0
    -1
      drivers/bluetooth/hci_usb.c
  29. +0
    -1
      drivers/cdrom/aztcd.c
  30. +0
    -1
      drivers/cdrom/cm206.c
  31. +0
    -1
      drivers/cdrom/gscd.c
  32. +0
    -1
      drivers/cdrom/sjcd.c
  33. +0
    -1
      drivers/char/briq_panel.c
  34. +0
    -1
      drivers/char/drm/ffb_context.c
  35. +0
    -1
      drivers/char/drm/ffb_drv.c
  36. +0
    -1
      drivers/char/ds1620.c
  37. +0
    -1
      drivers/char/dsp56k.c
  38. +0
    -1
      drivers/char/hvsi.c
  39. +0
    -1
      drivers/char/ipmi/ipmi_devintf.c
  40. +0
    -1
      drivers/char/ipmi/ipmi_msghandler.c
  41. +0
    -1
      drivers/char/nvram.c
  42. +0
    -1
      drivers/char/nwflash.c
  43. +0
    -1
      drivers/char/pty.c
  44. +0
    -1
      drivers/char/ser_a2232.c
  45. +0
    -1
      drivers/char/sonypi.c
  46. +0
    -1
      drivers/char/tlclk.c
  47. +0
    -1
      drivers/char/toshiba.c
  48. +0
    -1
      drivers/char/tpm/tpm.c
  49. +0
    -1
      drivers/char/vc_screen.c
  50. +0
    -1
      drivers/char/vme_scc.c
  51. +0
    -1
      drivers/cpufreq/cpufreq_conservative.c
  52. +0
    -1
      drivers/crypto/geode-aes.c
  53. +0
    -1
      drivers/fc4/fc_syms.c
  54. +0
    -1
      drivers/fc4/soc.c
  55. +0
    -1
      drivers/fc4/socal.c
  56. +0
    -1
      drivers/hid/hid-core.c
  57. +0
    -1
      drivers/i2c/busses/i2c-ali1535.c
  58. +0
    -1
      drivers/i2c/busses/i2c-ali15x3.c
  59. +0
    -1
      drivers/i2c/busses/i2c-amd756.c
  60. +0
    -1
      drivers/i2c/busses/i2c-amd8111.c
  61. +0
    -1
      drivers/i2c/busses/i2c-i801.c
  62. +0
    -1
      drivers/i2c/busses/i2c-iop3xx.c
  63. +0
    -1
      drivers/i2c/busses/i2c-nforce2.c
  64. +0
    -1
      drivers/i2c/busses/i2c-ocores.c
  65. +0
    -1
      drivers/i2c/busses/i2c-piix4.c
  66. +0
    -1
      drivers/i2c/busses/i2c-s3c2410.c
  67. +0
    -1
      drivers/i2c/busses/i2c-sis96x.c
  68. +0
    -1
      drivers/i2c/chips/eeprom.c
  69. +0
    -1
      drivers/ide/ide-proc.c
  70. +0
    -1
      drivers/ide/legacy/ide-cs.c
  71. +0
    -1
      drivers/ide/ppc/mpc8xx.c
  72. +0
    -1
      drivers/ide/ppc/pmac.c
  73. +0
    -1
      drivers/ieee1394/eth1394.c
  74. +0
    -1
      drivers/ieee1394/iso.c
  75. +0
    -1
      drivers/ieee1394/ohci1394.c
  76. +0
    -1
      drivers/infiniband/core/cache.c
  77. +1
    -1
      drivers/input/ff-memless.c
  78. +0
    -1
      drivers/input/input.c
  79. +0
    -1
      drivers/input/mouse/rpcmouse.c
  80. +0
    -1
      drivers/input/serio/hil_mlc.c
  81. +0
    -1
      drivers/input/serio/hp_sdc.c
  82. +0
    -1
      drivers/isdn/capi/capidrv.c
  83. +0
    -1
      drivers/isdn/hardware/avm/avm_cs.c
  84. +0
    -1
      drivers/isdn/hardware/eicon/divamnt.c
  85. +0
    -1
      drivers/isdn/hardware/eicon/divasmain.c
  86. +0
    -1
      drivers/isdn/hisax/avma1_cs.c
  87. +0
    -1
      drivers/isdn/hisax/elsa_cs.c
  88. +0
    -1
      drivers/isdn/hisax/hfc_usb.c
  89. +0
    -1
      drivers/isdn/hisax/sedlbauer_cs.c
  90. +0
    -1
      drivers/isdn/hisax/teles_cs.c
  91. +0
    -1
      drivers/isdn/hysdn/boardergo.c
  92. +0
    -1
      drivers/isdn/hysdn/hysdn_sched.c
  93. +0
    -1
      drivers/isdn/i4l/isdn_bsdcomp.c
  94. +0
    -1
      drivers/isdn/pcbit/callbacks.c
  95. +0
    -1
      drivers/isdn/pcbit/capi.c
  96. +0
    -1
      drivers/isdn/pcbit/drv.c
  97. +0
    -1
      drivers/isdn/pcbit/edss1.c
  98. +0
    -1
      drivers/isdn/pcbit/layer2.c
  99. +0
    -1
      drivers/isdn/pcbit/module.c
  100. +0
    -1
      drivers/macintosh/macio-adb.c

+ 0
- 1
drivers/acorn/block/mfmhd.c View File

@ -99,7 +99,6 @@
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/acorn/char/i2c.c View File

@ -14,7 +14,6 @@
*/
#include <linux/capability.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/miscdevice.h>
#include <linux/rtc.h>


+ 0
- 1
drivers/acpi/i2c_ec.c View File

@ -14,7 +14,6 @@
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/acpi.h>


+ 0
- 1
drivers/acpi/sleep/poweroff.c View File

@ -12,7 +12,6 @@
#include <linux/pm.h>
#include <linux/init.h>
#include <acpi/acpi_bus.h>
#include <linux/sched.h>
#include <linux/sysdev.h>
#include <asm/io.h>
#include "sleep.h"


+ 0
- 1
drivers/acpi/tables.c View File

@ -25,7 +25,6 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/string.h>
#include <linux/types.h>


+ 2
- 1
drivers/acpi/thermal.c View File

@ -36,7 +36,8 @@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/jiffies.h>
#include <linux/kmod.h>
#include <linux/seq_file.h>
#include <asm/uaccess.h>


+ 0
- 1
drivers/ata/ahci.c View File

@ -39,7 +39,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>


+ 0
- 1
drivers/ata/pdc_adma.c View File

@ -39,7 +39,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>


+ 0
- 1
drivers/ata/sata_mv.c View File

@ -28,7 +28,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>


+ 0
- 1
drivers/ata/sata_promise.c View File

@ -37,7 +37,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>


+ 0
- 1
drivers/ata/sata_qstor.c View File

@ -34,7 +34,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>


+ 0
- 1
drivers/ata/sata_sx4.c View File

@ -37,7 +37,6 @@
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_cmnd.h>


+ 0
- 1
drivers/atm/adummy.c View File

@ -13,7 +13,6 @@
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <asm/io.h>


+ 0
- 1
drivers/atm/fore200e.c View File

@ -29,7 +29,6 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/capability.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/bitops.h>
#include <linux/pci.h>


+ 0
- 1
drivers/atm/idt77105.c View File

@ -4,7 +4,6 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/errno.h>


+ 0
- 1
drivers/atm/uPD98402.c View File

@ -4,7 +4,6 @@
#include <linux/module.h>
#include <linux/sched.h> /* for jiffies */
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/atmdev.h>


+ 0
- 1
drivers/atm/zatm.c View File

@ -4,7 +4,6 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/pci.h>


+ 0
- 1
drivers/block/acsi.c View File

@ -46,7 +46,6 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/fs.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/block/paride/pd.c View File

@ -153,7 +153,6 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_GEO, D_SBY, D_DLY, D_SLV};
#include <linux/blkpg.h>
#include <linux/kernel.h>
#include <asm/uaccess.h>
#include <linux/sched.h>
#include <linux/workqueue.h>
static DEFINE_SPINLOCK(pd_lock);


+ 0
- 1
drivers/block/umem.c View File

@ -35,7 +35,6 @@
*/
//#define DEBUG /* uncomment if you want debugging info (pr_debug) */
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/bio.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/bluetooth/bfusb.c View File

@ -27,7 +27,6 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/skbuff.h>


+ 0
- 1
drivers/bluetooth/bt3c_cs.c View File

@ -27,7 +27,6 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/ptrace.h>


+ 0
- 1
drivers/bluetooth/btuart_cs.c View File

@ -26,7 +26,6 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/ptrace.h>


+ 0
- 1
drivers/bluetooth/dtl1_cs.c View File

@ -26,7 +26,6 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/ptrace.h>


+ 0
- 1
drivers/bluetooth/hci_bcsp.c View File

@ -26,7 +26,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/bluetooth/hci_h4.c View File

@ -27,7 +27,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/bluetooth/hci_ldisc.c View File

@ -27,7 +27,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/bluetooth/hci_usb.c View File

@ -35,7 +35,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/unistd.h>
#include <linux/types.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/cdrom/aztcd.c View File

@ -170,7 +170,6 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/fs.h>


+ 0
- 1
drivers/cdrom/cm206.c View File

@ -183,7 +183,6 @@ History:
#include <linux/errno.h> /* These include what we really need */
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/timer.h>
#include <linux/cdrom.h>


+ 0
- 1
drivers/cdrom/gscd.c View File

@ -53,7 +53,6 @@
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/fs.h>
#include <linux/mm.h>


+ 0
- 1
drivers/cdrom/sjcd.c View File

@ -60,7 +60,6 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/fs.h>


+ 0
- 1
drivers/char/briq_panel.c View File

@ -8,7 +8,6 @@
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/tty.h>
#include <linux/timer.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/char/drm/ffb_context.c View File

@ -7,7 +7,6 @@
* for authors.
*/
#include <linux/sched.h>
#include <asm/upa.h>
#include "ffb.h"


+ 0
- 1
drivers/char/drm/ffb_drv.c View File

@ -9,7 +9,6 @@
#include "ffb_drv.h"
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <asm/shmparam.h>
#include <asm/oplib.h>


+ 0
- 1
drivers/char/ds1620.c View File

@ -3,7 +3,6 @@
* thermometer driver (as used in the Rebel.com NetWinder)
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/miscdevice.h>
#include <linux/smp_lock.h>
#include <linux/delay.h>


+ 0
- 1
drivers/char/dsp56k.c View File

@ -25,7 +25,6 @@
#include <linux/module.h>
#include <linux/slab.h> /* for kmalloc() and kfree() */
#include <linux/sched.h> /* for struct wait_queue etc */
#include <linux/major.h>
#include <linux/types.h>
#include <linux/errno.h>


+ 0
- 1
drivers/char/hvsi.c View File

@ -39,7 +39,6 @@
#include <linux/module.h>
#include <linux/major.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/sysrq.h>
#include <linux/tty.h>


+ 0
- 1
drivers/char/ipmi/ipmi_devintf.c View File

@ -35,7 +35,6 @@
#include <linux/moduleparam.h>
#include <linux/errno.h>
#include <asm/system.h>
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/spinlock.h>
#include <linux/slab.h>


+ 0
- 1
drivers/char/ipmi/ipmi_msghandler.c View File

@ -34,7 +34,6 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <asm/system.h>
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>


+ 0
- 1
drivers/char/nvram.c View File

@ -37,7 +37,6 @@
#define NVRAM_VERSION "1.2"
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <linux/nvram.h>


+ 0
- 1
drivers/char/nwflash.c View File

@ -21,7 +21,6 @@
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <linux/rwsem.h>


+ 0
- 1
drivers/char/pty.c View File

@ -14,7 +14,6 @@
#include <linux/module.h> /* For EXPORT_SYMBOL */
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>


+ 0
- 1
drivers/char/ser_a2232.c View File

@ -86,7 +86,6 @@
#include <linux/module.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/errno.h>


+ 0
- 1
drivers/char/sonypi.c View File

@ -36,7 +36,6 @@
#include <linux/module.h>
#include <linux/input.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/miscdevice.h>


+ 0
- 1
drivers/char/tlclk.c View File

@ -29,7 +29,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/kernel.h> /* printk() */
#include <linux/fs.h> /* everything... */
#include <linux/errno.h> /* error codes */


+ 0
- 1
drivers/char/toshiba.c View File

@ -58,7 +58,6 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/miscdevice.h>


+ 0
- 1
drivers/char/tpm/tpm.c View File

@ -23,7 +23,6 @@
*
*/
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/spinlock.h>
#include "tpm.h"


+ 0
- 1
drivers/char/vc_screen.c View File

@ -25,7 +25,6 @@
#include <linux/major.h>
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/init.h>


+ 0
- 1
drivers/char/vme_scc.c View File

@ -17,7 +17,6 @@
#include <linux/kdev_t.h>
#include <asm/io.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/errno.h>


+ 0
- 1
drivers/cpufreq/cpufreq_conservative.c View File

@ -23,7 +23,6 @@
#include <linux/fs.h>
#include <linux/sysfs.h>
#include <linux/cpu.h>
#include <linux/sched.h>
#include <linux/kmod.h>
#include <linux/workqueue.h>
#include <linux/jiffies.h>


+ 0
- 1
drivers/crypto/geode-aes.c View File

@ -8,7 +8,6 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/crypto.h>


+ 0
- 1
drivers/fc4/fc_syms.c View File

@ -6,7 +6,6 @@
#ifdef CONFIG_MODULES
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/fc4/soc.c View File

@ -22,7 +22,6 @@ static char *version =
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/fc4/socal.c View File

@ -17,7 +17,6 @@ static char *version =
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/hid/hid-core.c View File

@ -18,7 +18,6 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/smp_lock.h>


+ 0
- 1
drivers/i2c/busses/i2c-ali1535.c View File

@ -57,7 +57,6 @@
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/i2c.h>


+ 0
- 1
drivers/i2c/busses/i2c-ali15x3.c View File

@ -64,7 +64,6 @@
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/i2c.h>


+ 0
- 1
drivers/i2c/busses/i2c-amd756.c View File

@ -42,7 +42,6 @@
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/init.h>


+ 0
- 1
drivers/i2c/busses/i2c-amd8111.c View File

@ -12,7 +12,6 @@
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/i2c.h>


+ 0
- 1
drivers/i2c/busses/i2c-i801.c View File

@ -48,7 +48,6 @@
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/i2c.h>


+ 0
- 1
drivers/i2c/busses/i2c-iop3xx.c View File

@ -36,7 +36,6 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>


+ 0
- 1
drivers/i2c/busses/i2c-nforce2.c View File

@ -44,7 +44,6 @@
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/i2c.h>


+ 0
- 1
drivers/i2c/busses/i2c-ocores.c View File

@ -11,7 +11,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/platform_device.h>


+ 0
- 1
drivers/i2c/busses/i2c-piix4.c View File

@ -35,7 +35,6 @@
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/init.h>


+ 0
- 1
drivers/i2c/busses/i2c-s3c2410.c View File

@ -28,7 +28,6 @@
#include <linux/init.h>
#include <linux/time.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/err.h>


+ 0
- 1
drivers/i2c/busses/i2c-sis96x.c View File

@ -37,7 +37,6 @@
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/init.h>


+ 0
- 1
drivers/i2c/chips/eeprom.c View File

@ -30,7 +30,6 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/mutex.h>


+ 0
- 1
drivers/ide/ide-proc.c View File

@ -26,7 +26,6 @@
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/mm.h>


+ 0
- 1
drivers/ide/legacy/ide-cs.c View File

@ -34,7 +34,6 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>


+ 0
- 1
drivers/ide/ppc/mpc8xx.c View File

@ -12,7 +12,6 @@
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/stddef.h>


+ 0
- 1
drivers/ide/ppc/pmac.c View File

@ -24,7 +24,6 @@
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/ide.h>


+ 0
- 1
drivers/ieee1394/eth1394.c View File

@ -43,7 +43,6 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>


+ 0
- 1
drivers/ieee1394/iso.c View File

@ -10,7 +10,6 @@
*/
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include "hosts.h"


+ 0
- 1
drivers/ieee1394/ohci1394.c View File

@ -102,7 +102,6 @@
#include <asm/pgtable.h>
#include <asm/page.h>
#include <asm/irq.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/vmalloc.h>
#include <linux/init.h>


+ 0
- 1
drivers/infiniband/core/cache.c View File

@ -38,7 +38,6 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/sched.h> /* INIT_WORK, schedule_work(), flush_scheduled_work() */
#include <rdma/ib_cache.h>


+ 1
- 1
drivers/input/ff-memless.c View File

@ -29,7 +29,7 @@
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/jiffies.h>
#include "fixp-arith.h"


+ 0
- 1
drivers/input/input.c View File

@ -11,7 +11,6 @@
*/
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <linux/input.h>
#include <linux/module.h>


+ 0
- 1
drivers/input/mouse/rpcmouse.c View File

@ -18,7 +18,6 @@
*/
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/interrupt.h>
#include <linux/init.h>


+ 0
- 1
drivers/input/serio/hil_mlc.c View File

@ -59,7 +59,6 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/timer.h>
#include <linux/sched.h>
#include <linux/list.h>
MODULE_AUTHOR("Brian S. Julin <bri@calyx.com>");


+ 0
- 1
drivers/input/serio/hp_sdc.c View File

@ -62,7 +62,6 @@
*/
#include <linux/hp_sdc.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/module.h>


+ 0
- 1
drivers/isdn/capi/capidrv.c View File

@ -13,7 +13,6 @@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/fs.h>


+ 0
- 1
drivers/isdn/hardware/avm/avm_cs.c View File

@ -12,7 +12,6 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>


+ 0
- 1
drivers/isdn/hardware/eicon/divamnt.c View File

@ -13,7 +13,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <linux/poll.h>
#include <asm/uaccess.h>


+ 0
- 1
drivers/isdn/hardware/eicon/divasmain.c View File

@ -12,7 +12,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <linux/ioport.h>


+ 0
- 1
drivers/isdn/hisax/avma1_cs.c View File

@ -14,7 +14,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>


+ 0
- 1
drivers/isdn/hisax/elsa_cs.c View File

@ -38,7 +38,6 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>


+ 0
- 1
drivers/isdn/hisax/hfc_usb.c View File

@ -38,7 +38,6 @@
#include <linux/usb.h>
#include <linux/kernel.h>
#include <linux/smp_lock.h>
#include <linux/sched.h>
#include "hisax.h"
#include "hisax_if.h"
#include "hfc_usb.h"


+ 0
- 1
drivers/isdn/hisax/sedlbauer_cs.c View File

@ -38,7 +38,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>


+ 0
- 1
drivers/isdn/hisax/teles_cs.c View File

@ -19,7 +19,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>


+ 0
- 1
drivers/isdn/hysdn/boardergo.c View File

@ -14,7 +14,6 @@
*
*/
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/kernel.h>
#include <linux/ioport.h>


+ 0
- 1
drivers/isdn/hysdn/hysdn_sched.c View File

@ -11,7 +11,6 @@
*
*/
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/kernel.h>
#include <linux/ioport.h>


+ 0
- 1
drivers/isdn/i4l/isdn_bsdcomp.c View File

@ -56,7 +56,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>


+ 0
- 1
drivers/isdn/pcbit/callbacks.c View File

@ -15,7 +15,6 @@
* NULL pointer dereference in cb_in_1 (originally fixed in 2.0)
*/
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/isdn/pcbit/capi.c View File

@ -27,7 +27,6 @@
* encode our number in CallerPN and ConnectedPN
*/
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/isdn/pcbit/drv.c View File

@ -19,7 +19,6 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/isdn/pcbit/edss1.c View File

@ -15,7 +15,6 @@
* move state/event descriptions to a user space logger
*/
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kernel.h>


+ 0
- 1
drivers/isdn/pcbit/layer2.c View File

@ -24,7 +24,6 @@
* re-write/remove debug printks
*/
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/types.h>


+ 0
- 1
drivers/isdn/pcbit/module.c View File

@ -11,7 +11,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>


+ 0
- 1
drivers/macintosh/macio-adb.c View File

@ -6,7 +6,6 @@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <asm/prom.h>


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save