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

1
drivers/acorn/block/mfmhd.c

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

1
drivers/acorn/char/i2c.c

@ -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>

1
drivers/acpi/i2c_ec.c

@ -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>

1
drivers/acpi/sleep/poweroff.c

@ -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"

1
drivers/acpi/tables.c

@ -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>

3
drivers/acpi/thermal.c

@ -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>

1
drivers/ata/ahci.c

@ -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>

1
drivers/ata/pdc_adma.c

@ -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>

1
drivers/ata/sata_mv.c

@ -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>

1
drivers/ata/sata_promise.c

@ -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>

1
drivers/ata/sata_qstor.c

@ -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>

1
drivers/ata/sata_sx4.c

@ -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>

1
drivers/atm/adummy.c

@ -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>

1
drivers/atm/fore200e.c

@ -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>

1
drivers/atm/idt77105.c

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

1
drivers/atm/uPD98402.c

@ -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>

1
drivers/atm/zatm.c

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

1
drivers/block/acsi.c

@ -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>

1
drivers/block/paride/pd.c

@ -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);

1
drivers/block/umem.c

@ -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>

1
drivers/bluetooth/bfusb.c

@ -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>

1
drivers/bluetooth/bt3c_cs.c

@ -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>

1
drivers/bluetooth/btuart_cs.c

@ -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>

1
drivers/bluetooth/dtl1_cs.c

@ -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>

1
drivers/bluetooth/hci_bcsp.c

@ -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>

1
drivers/bluetooth/hci_h4.c

@ -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>

1
drivers/bluetooth/hci_ldisc.c

@ -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>

1
drivers/bluetooth/hci_usb.c

@ -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>

1
drivers/cdrom/aztcd.c

@ -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>

1
drivers/cdrom/cm206.c

@ -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>

1
drivers/cdrom/gscd.c

@ -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>

1
drivers/cdrom/sjcd.c

@ -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>

1
drivers/char/briq_panel.c

@ -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>

1
drivers/char/drm/ffb_context.c

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

1
drivers/char/drm/ffb_drv.c

@ -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>

1
drivers/char/ds1620.c

@ -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>

1
drivers/char/dsp56k.c

@ -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>

1
drivers/char/hvsi.c

@ -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>

1
drivers/char/ipmi/ipmi_devintf.c

@ -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>

1
drivers/char/ipmi/ipmi_msghandler.c

@ -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>

1
drivers/char/nvram.c

@ -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>

1
drivers/char/nwflash.c

@ -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>

1
drivers/char/pty.c

@ -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>

1
drivers/char/ser_a2232.c

@ -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>

1
drivers/char/sonypi.c

@ -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>

1
drivers/char/tlclk.c

@ -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 */

1
drivers/char/toshiba.c

@ -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>

1
drivers/char/tpm/tpm.c

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

1
drivers/char/vc_screen.c

@ -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>

1
drivers/char/vme_scc.c

@ -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>

1
drivers/cpufreq/cpufreq_conservative.c

@ -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>

1
drivers/crypto/geode-aes.c

@ -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>

1
drivers/fc4/fc_syms.c

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

1
drivers/fc4/soc.c

@ -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>

1
drivers/fc4/socal.c

@ -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>

1
drivers/hid/hid-core.c

@ -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>

1
drivers/i2c/busses/i2c-ali1535.c

@ -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>

1
drivers/i2c/busses/i2c-ali15x3.c

@ -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>

1
drivers/i2c/busses/i2c-amd756.c

@ -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>

1
drivers/i2c/busses/i2c-amd8111.c

@ -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>

1
drivers/i2c/busses/i2c-i801.c

@ -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>

1
drivers/i2c/busses/i2c-iop3xx.c

@ -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>

1
drivers/i2c/busses/i2c-nforce2.c

@ -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>

1
drivers/i2c/busses/i2c-ocores.c

@ -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>

1
drivers/i2c/busses/i2c-piix4.c

@ -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>

1
drivers/i2c/busses/i2c-s3c2410.c

@ -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>

1
drivers/i2c/busses/i2c-sis96x.c

@ -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>

1
drivers/i2c/chips/eeprom.c

@ -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>

1
drivers/ide/ide-proc.c

@ -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>

1
drivers/ide/legacy/ide-cs.c

@ -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>

1
drivers/ide/ppc/mpc8xx.c

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

1
drivers/ide/ppc/pmac.c

@ -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>

1
drivers/ieee1394/eth1394.c

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

1
drivers/ieee1394/iso.c

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

1
drivers/ieee1394/ohci1394.c

@ -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>

1
drivers/infiniband/core/cache.c

@ -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>

2
drivers/input/ff-memless.c

@ -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"

1
drivers/input/input.c

@ -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>

1
drivers/input/mouse/rpcmouse.c

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

1
drivers/input/serio/hil_mlc.c

@ -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>");

1
drivers/input/serio/hp_sdc.c

@ -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>

1
drivers/isdn/capi/capidrv.c

@ -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>

1
drivers/isdn/hardware/avm/avm_cs.c

@ -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>

1
drivers/isdn/hardware/eicon/divamnt.c

@ -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>

1
drivers/isdn/hardware/eicon/divasmain.c

@ -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>

1
drivers/isdn/hisax/avma1_cs.c

@ -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>

1
drivers/isdn/hisax/elsa_cs.c

@ -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>

1
drivers/isdn/hisax/hfc_usb.c

@ -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"

1
drivers/isdn/hisax/sedlbauer_cs.c

@ -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>

1
drivers/isdn/hisax/teles_cs.c

@ -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>

1
drivers/isdn/hysdn/boardergo.c

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

1
drivers/isdn/hysdn/hysdn_sched.c

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

1
drivers/isdn/i4l/isdn_bsdcomp.c

@ -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>

1
drivers/isdn/pcbit/callbacks.c

@ -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>

1
drivers/isdn/pcbit/capi.c

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

1
drivers/isdn/pcbit/drv.c

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

1
drivers/isdn/pcbit/edss1.c

@ -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>

1
drivers/isdn/pcbit/layer2.c

@ -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>

1
drivers/isdn/pcbit/module.c

@ -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>

1
drivers/macintosh/macio-adb.c

@ -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