Browse Source

[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason

This patch removes almost all inclusions of linux/version.h.  The 3
#defines are unused in most of the touched files.

A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
unfortunatly in linux/version.h.

There are also lots of #ifdef for long obsolete kernels, this was not
touched.  In a few places, the linux/version.h include was move to where
the LINUX_VERSION_CODE was used.

quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`

search pattern:
/UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
master
Olaf Hering 16 years ago
committed by Linus Torvalds
parent
commit
733482e445
  1. 1
      arch/arm/mach-omap1/leds-h2p2-debug.c
  2. 1
      arch/arm/plat-omap/ocpi.c
  3. 1
      arch/cris/arch-v10/drivers/pcf8563.c
  4. 1
      arch/cris/arch-v10/kernel/fasttimer.c
  5. 1
      arch/cris/arch-v32/drivers/nandflash.c
  6. 1
      arch/cris/arch-v32/drivers/pcf8563.c
  7. 1
      arch/mips/tx4938/toshiba_rbtx4938/irq.c
  8. 1
      arch/parisc/kernel/asm-offsets.c
  9. 1
      arch/ppc/syslib/prom.c
  10. 1
      arch/ppc/syslib/prom_init.c
  11. 1
      drivers/block/amiflop.c
  12. 1
      drivers/char/ip2.c
  13. 1
      drivers/char/mwave/tp3780i.c
  14. 1
      drivers/char/mxser.c
  15. 1
      drivers/char/specialix.c
  16. 1
      drivers/char/tpm/tpm.h
  17. 1
      drivers/char/viocons.c
  18. 1
      drivers/char/viotape.c
  19. 1
      drivers/firmware/dell_rbu.c
  20. 1
      drivers/infiniband/ulp/srp/ib_srp.c
  21. 1
      drivers/isdn/divert/divert_init.c
  22. 1
      drivers/isdn/divert/divert_procfs.c
  23. 1
      drivers/isdn/divert/isdn_divert.c
  24. 1
      drivers/isdn/hisax/hisax_fcpcipnp.c
  25. 1
      drivers/isdn/hisax/st5481_init.c
  26. 1
      drivers/isdn/hysdn/hycapi.c
  27. 1
      drivers/isdn/hysdn/hysdn_init.c
  28. 1
      drivers/isdn/hysdn/hysdn_net.c
  29. 1
      drivers/isdn/hysdn/hysdn_procconf.c
  30. 1
      drivers/isdn/hysdn/hysdn_proclog.c
  31. 1
      drivers/isdn/i4l/isdn_common.c
  32. 1
      drivers/isdn/icn/icn.h
  33. 1
      drivers/isdn/isdnloop/isdnloop.h
  34. 1
      drivers/isdn/sc/includes.h
  35. 1
      drivers/md/bitmap.c
  36. 1
      drivers/media/video/arv.c
  37. 1
      drivers/media/video/zr36016.c
  38. 1
      drivers/media/video/zr36050.c
  39. 1
      drivers/media/video/zr36060.c
  40. 1
      drivers/message/fusion/mptbase.c
  41. 1
      drivers/message/fusion/mptbase.h
  42. 1
      drivers/message/fusion/mptctl.c
  43. 1
      drivers/message/fusion/mptctl.h
  44. 1
      drivers/message/fusion/mptlan.h
  45. 1
      drivers/misc/hdpuftrs/hdpu_cpustate.c
  46. 1
      drivers/misc/hdpuftrs/hdpu_nexus.c
  47. 1
      drivers/misc/ibmasm/ibmasm.h
  48. 1
      drivers/mtd/chips/cfi_cmdset_0020.c
  49. 1
      drivers/mtd/devices/pmc551.c
  50. 1
      drivers/mtd/maps/ebony.c
  51. 1
      drivers/mtd/maps/ocotea.c
  52. 1
      drivers/mtd/maps/walnut.c
  53. 1
      drivers/mtd/nand/au1550nd.c
  54. 1
      drivers/mtd/nand/autcpu12.c
  55. 1
      drivers/net/b44.c
  56. 1
      drivers/net/cassini.c
  57. 1
      drivers/net/dm9000.c
  58. 1
      drivers/net/fs_enet/fs_enet.h
  59. 1
      drivers/net/gianfar.c
  60. 1
      drivers/net/gianfar.h
  61. 1
      drivers/net/gianfar_ethtool.c
  62. 1
      drivers/net/gianfar_mii.c
  63. 1
      drivers/net/hp100.c
  64. 1
      drivers/net/ibmveth.c
  65. 1
      drivers/net/iseries_veth.c
  66. 1
      drivers/net/mac8390.c
  67. 1
      drivers/net/mv643xx_eth.h
  68. 1
      drivers/net/s2io.c
  69. 3
      drivers/net/sk98lin/h/skdrv1st.h
  70. 1
      drivers/net/sk_mca.c
  71. 2
      drivers/net/sk_mca.h
  72. 1
      drivers/net/starfire.c
  73. 1
      drivers/net/via-velocity.c
  74. 1
      drivers/net/wireless/hostap/hostap.c
  75. 1
      drivers/net/wireless/hostap/hostap_hw.c
  76. 1
      drivers/net/wireless/hostap/hostap_pci.c
  77. 1
      drivers/net/wireless/hostap/hostap_plx.c
  78. 1
      drivers/net/wireless/ipw2100.h
  79. 1
      drivers/net/wireless/ipw2200.c
  80. 1
      drivers/net/wireless/ipw2200.h
  81. 1
      drivers/net/wireless/orinoco.h
  82. 1
      drivers/net/wireless/prism54/isl_38xx.c
  83. 1
      drivers/net/wireless/prism54/isl_38xx.h
  84. 1
      drivers/net/wireless/prism54/isl_ioctl.c
  85. 1
      drivers/net/wireless/prism54/islpci_dev.c
  86. 1
      drivers/net/wireless/prism54/islpci_dev.h
  87. 1
      drivers/net/wireless/prism54/islpci_eth.c
  88. 1
      drivers/net/wireless/prism54/islpci_hotplug.c
  89. 1
      drivers/pcmcia/au1000_pb1x00.c
  90. 1
      drivers/pcmcia/au1000_xxs1500.c
  91. 1
      drivers/s390/crypto/z90main.c
  92. 1
      drivers/s390/net/claw.c
  93. 1
      drivers/scsi/3w-xxxx.h
  94. 1
      drivers/scsi/a2091.c
  95. 1
      drivers/scsi/aic7xxx/aic79xx_osm.h
  96. 1
      drivers/scsi/aic7xxx/aic7xxx_osm.h
  97. 1
      drivers/scsi/amiga7xx.c
  98. 1
      drivers/scsi/bvme6000.c
  99. 1
      drivers/scsi/gvp11.c
  100. 6
      drivers/scsi/ibmmca.c

1
arch/arm/mach-omap1/leds-h2p2-debug.c

@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <asm/io.h>
#include <asm/hardware.h>

1
arch/arm/plat-omap/ocpi.c

@ -25,7 +25,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>

1
arch/cris/arch-v10/drivers/pcf8563.c

@ -19,7 +19,6 @@
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>

1
arch/cris/arch-v10/kernel/fasttimer.c

@ -112,7 +112,6 @@
#include <asm/rtc.h>
#include <linux/config.h>
#include <linux/version.h>
#include <asm/arch/svinto.h>
#include <asm/fasttimer.h>

1
arch/cris/arch-v32/drivers/nandflash.c

@ -14,7 +14,6 @@
*
*/
#include <linux/version.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>

1
arch/cris/arch-v32/drivers/pcf8563.c

@ -18,7 +18,6 @@
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>

1
arch/mips/tx4938/toshiba_rbtx4938/irq.c

@ -84,7 +84,6 @@ IRQ Device
#include <asm/ptrace.h>
#include <asm/reboot.h>
#include <asm/time.h>
#include <linux/version.h>
#include <linux/bootmem.h>
#include <asm/tx4938/rbtx4938.h>

1
arch/parisc/kernel/asm-offsets.c

@ -30,7 +30,6 @@
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/thread_info.h>
#include <linux/version.h>
#include <linux/ptrace.h>
#include <linux/hardirq.h>

1
arch/ppc/syslib/prom.c

@ -13,7 +13,6 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/threads.h>
#include <linux/spinlock.h>
#include <linux/ioport.h>

1
arch/ppc/syslib/prom_init.c

@ -9,7 +9,6 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/threads.h>
#include <linux/spinlock.h>
#include <linux/ioport.h>

1
drivers/block/amiflop.c

@ -1816,7 +1816,6 @@ out_blkdev:
}
#ifdef MODULE
#include <linux/version.h>
int init_module(void)
{

1
drivers/char/ip2.c

@ -7,7 +7,6 @@
//
#include <linux/module.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/wait.h>

1
drivers/char/mwave/tp3780i.c

@ -46,7 +46,6 @@
* First release to the public
*/
#include <linux/version.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/ptrace.h>

1
drivers/char/mxser.c

@ -38,7 +38,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/autoconf.h>
#include <linux/errno.h>
#include <linux/signal.h>

1
drivers/char/specialix.c

@ -90,7 +90,6 @@
#include <linux/fcntl.h>
#include <linux/major.h>
#include <linux/delay.h>
#include <linux/version.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <asm/uaccess.h>

1
drivers/char/tpm/tpm.h

@ -19,7 +19,6 @@
*
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/fs.h>

1
drivers/char/viocons.c

@ -26,7 +26,6 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/errno.h>

1
drivers/char/viotape.c

@ -32,7 +32,6 @@
* iseries/vio.h
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>

1
drivers/firmware/dell_rbu.c

@ -34,7 +34,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <linux/version.h>
#include <linux/config.h>
#include <linux/init.h>
#include <linux/module.h>

1
drivers/infiniband/ulp/srp/ib_srp.c

@ -32,7 +32,6 @@
* $Id: ib_srp.c 3932 2005-11-01 17:19:29Z roland $
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

1
drivers/isdn/divert/divert_init.c

@ -10,7 +10,6 @@
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/kernel.h>

1
drivers/isdn/divert/divert_procfs.c

@ -11,7 +11,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/poll.h>
#include <linux/smp_lock.h>
#ifdef CONFIG_PROC_FS

1
drivers/isdn/divert/isdn_divert.c

@ -9,7 +9,6 @@
*
*/
#include <linux/version.h>
#include <linux/proc_fs.h>
#include "isdn_divert.h"

1
drivers/isdn/hisax/hisax_fcpcipnp.c

@ -23,7 +23,6 @@
* o tx_skb at PH_DEACTIVATE time
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>

1
drivers/isdn/hisax/st5481_init.c

@ -25,7 +25,6 @@
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb.h>

1
drivers/isdn/hysdn/hycapi.c

@ -11,7 +11,6 @@
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/signal.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>

1
drivers/isdn/hysdn/hysdn_init.c

@ -13,7 +13,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/poll.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>

1
drivers/isdn/hysdn/hysdn_net.c

@ -14,7 +14,6 @@
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/signal.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>

1
drivers/isdn/hysdn/hysdn_procconf.c

@ -12,7 +12,6 @@
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
#include <linux/pci.h>

1
drivers/isdn/hysdn/hysdn_proclog.c

@ -11,7 +11,6 @@
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
#include <linux/pci.h>

1
drivers/isdn/i4l/isdn_common.c

@ -14,7 +14,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/poll.h>
#include <linux/vmalloc.h>
#include <linux/isdn.h>

1
drivers/isdn/icn/icn.h

@ -35,7 +35,6 @@ typedef struct icn_cdef {
#ifdef __KERNEL__
/* Kernel includes */
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/major.h>

1
drivers/isdn/isdnloop/isdnloop.h

@ -33,7 +33,6 @@ typedef struct isdnloop_sdef {
#ifdef __KERNEL__
/* Kernel includes */
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/major.h>

1
drivers/isdn/sc/includes.h

@ -4,7 +4,6 @@
*
*/
#include <linux/version.h>
#include <linux/errno.h>
#include <asm/io.h>
#include <linux/delay.h>

1
drivers/md/bitmap.c

@ -21,7 +21,6 @@
*/
#include <linux/module.h>
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/init.h>

1
drivers/media/video/arv.c

@ -22,7 +22,6 @@
#include <linux/init.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fs.h>

1
drivers/media/video/zr36016.c

@ -26,7 +26,6 @@
#define ZR016_VERSION "v0.7"
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

1
drivers/media/video/zr36050.c

@ -26,7 +26,6 @@
#define ZR050_VERSION "v0.7.1"
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

1
drivers/media/video/zr36060.c

@ -26,7 +26,6 @@
#define ZR060_VERSION "v0.7"
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

1
drivers/message/fusion/mptbase.c

@ -47,7 +47,6 @@
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>

1
drivers/message/fusion/mptbase.h

@ -49,7 +49,6 @@
#define MPTBASE_H_INCLUDED
/*{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#include <linux/version.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/pci.h>

1
drivers/message/fusion/mptctl.c

@ -45,7 +45,6 @@
*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>

1
drivers/message/fusion/mptctl.h

@ -49,7 +49,6 @@
#define MPTCTL_H_INCLUDED
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#include "linux/version.h"
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

1
drivers/message/fusion/mptlan.h

@ -66,7 +66,6 @@
#include <linux/slab.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <linux/version.h>
#include <linux/workqueue.h>
#include <linux/delay.h>
// #include <linux/trdevice.h>

1
drivers/misc/hdpuftrs/hdpu_cpustate.c

@ -14,7 +14,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>

1
drivers/misc/hdpuftrs/hdpu_nexus.c

@ -14,7 +14,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>

1
drivers/misc/ibmasm/ibmasm.h

@ -31,7 +31,6 @@
#include <linux/slab.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/input.h>

1
drivers/mtd/chips/cfi_cmdset_0020.c

@ -20,7 +20,6 @@
* - Plugged memory leak in cfi_staa_writev().
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>

1
drivers/mtd/devices/pmc551.c

@ -82,7 +82,6 @@
* * Comb the init routine. It's still a bit cludgy on a few things.
*/
#include <linux/version.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>

1
drivers/mtd/maps/ebony.c

@ -21,7 +21,6 @@
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/config.h>
#include <linux/version.h>
#include <asm/io.h>
#include <asm/ibm44x.h>
#include <platforms/4xx/ebony.h>

1
drivers/mtd/maps/ocotea.c

@ -19,7 +19,6 @@
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/config.h>
#include <linux/version.h>
#include <asm/io.h>
#include <asm/ibm44x.h>
#include <platforms/4xx/ocotea.h>

1
drivers/mtd/maps/walnut.c

@ -21,7 +21,6 @@
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/config.h>
#include <linux/version.h>
#include <asm/io.h>
#include <asm/ibm4xx.h>
#include <platforms/4xx/walnut.h>

1
drivers/mtd/nand/au1550nd.c

@ -17,6 +17,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <linux/version.h>
#include <asm/io.h>
/* fixme: this is ugly */

1
drivers/mtd/nand/autcpu12.c

@ -27,7 +27,6 @@
* 10-06-2002 TG 128K card support added
*/
#include <linux/version.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>

1
drivers/net/b44.c

@ -18,7 +18,6 @@
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/dma-mapping.h>
#include <asm/uaccess.h>

1
drivers/net/cassini.c

@ -67,7 +67,6 @@
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>

1
drivers/net/dm9000.c

@ -60,7 +60,6 @@
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/skbuff.h>
#include <linux/version.h>
#include <linux/spinlock.h>
#include <linux/crc32.h>
#include <linux/mii.h>

1
drivers/net/fs_enet/fs_enet.h

@ -4,7 +4,6 @@
#include <linux/mii.h>
#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/version.h>
#include <linux/list.h>
#include <linux/fs_enet_pd.h>

1
drivers/net/gianfar.c

@ -90,7 +90,6 @@
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/dma-mapping.h>
#include <linux/crc32.h>
#include <linux/mii.h>

1
drivers/net/gianfar.h

@ -43,7 +43,6 @@
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/crc32.h>
#include <linux/workqueue.h>
#include <linux/ethtool.h>

1
drivers/net/gianfar_ethtool.c

@ -34,7 +34,6 @@
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/crc32.h>
#include <asm/types.h>
#include <asm/uaccess.h>

1
drivers/net/gianfar_mii.c

@ -32,7 +32,6 @@
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/platform_device.h>
#include <asm/ocp.h>
#include <linux/crc32.h>

1
drivers/net/hp100.c

@ -96,7 +96,6 @@
#undef HP100_MULTICAST_FILTER /* Need to be debugged... */
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>

1
drivers/net/ibmveth.c

@ -35,7 +35,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/ioport.h>

1
drivers/net/iseries_veth.c

@ -58,7 +58,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/ioport.h>

1
drivers/net/mac8390.c

@ -15,7 +15,6 @@
* and fixed access to Sonic Sys card which masquerades as a Farallon
* by rayk@knightsmanor.org */
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>

1
drivers/net/mv643xx_eth.h

@ -1,7 +1,6 @@
#ifndef __MV643XX_ETH_H__
#define __MV643XX_ETH_H__
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>

1
drivers/net/s2io.c

@ -55,7 +55,6 @@
#include <linux/timex.h>
#include <linux/sched.h>
#include <linux/ethtool.h>
#include <linux/version.h>
#include <linux/workqueue.h>
#include <linux/if_vlan.h>

3
drivers/net/sk98lin/h/skdrv1st.h

@ -39,9 +39,6 @@
#ifndef __INC_SKDRV1ST_H
#define __INC_SKDRV1ST_H
/* Check kernel version */
#include <linux/version.h>
typedef struct s_AC SK_AC;
/* Set card versions */

1
drivers/net/sk_mca.c

@ -93,7 +93,6 @@ History:
#include <linux/mca-legacy.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>

2
drivers/net/sk_mca.h

@ -1,5 +1,3 @@
#include <linux/version.h>
#ifndef _SK_MCA_INCLUDE_
#define _SK_MCA_INCLUDE_

1
drivers/net/starfire.c

@ -147,7 +147,6 @@ TODO: - fix forced speed/duplexing code (broken a long time ago, when
#define DRV_RELDATE "October 3, 2005"
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>

1
drivers/net/via-velocity.c

@ -61,7 +61,6 @@
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/version.h>
#include <linux/string.h>
#include <linux/wait.h>
#include <asm/io.h>

1
drivers/net/wireless/hostap/hostap.c

@ -13,7 +13,6 @@
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

1
drivers/net/wireless/hostap/hostap_hw.c

@ -31,7 +31,6 @@
#include <linux/config.h>
#include <linux/version.h>
#include <asm/delay.h>
#include <asm/uaccess.h>

1
drivers/net/wireless/hostap/hostap_pci.c

@ -5,7 +5,6 @@
* Andy Warner <andyw@pobox.com> */
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>

1
drivers/net/wireless/hostap/hostap_plx.c

@ -8,7 +8,6 @@
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>

1
drivers/net/wireless/ipw2100.h

@ -37,7 +37,6 @@
#include <linux/socket.h>
#include <linux/if_arp.h>
#include <linux/wireless.h>
#include <linux/version.h>
#include <net/iw_handler.h> // new driver API
#include <net/ieee80211.h>

1
drivers/net/wireless/ipw2200.c

@ -31,6 +31,7 @@
******************************************************************************/
#include "ipw2200.h"
#include <linux/version.h>
#define IPW2200_VERSION "1.0.0"
#define DRV_DESCRIPTION "Intel(R) PRO/Wireless 2200/2915 Network Driver"

1
drivers/net/wireless/ipw2200.h

@ -34,7 +34,6 @@
#include <linux/config.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>

1
drivers/net/wireless/orinoco.h

@ -12,7 +12,6 @@
#include <linux/netdevice.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <linux/version.h>
#include "hermes.h"

1
drivers/net/wireless/prism54/isl_38xx.c

@ -18,7 +18,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/delay.h>

1
drivers/net/wireless/prism54/isl_38xx.h

@ -20,7 +20,6 @@
#ifndef _ISL_38XX_H
#define _ISL_38XX_H
#include <linux/version.h>
#include <asm/io.h>
#include <asm/byteorder.h>

1
drivers/net/wireless/prism54/isl_ioctl.c

@ -20,7 +20,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/if_arp.h>

1
drivers/net/wireless/prism54/islpci_dev.c

@ -19,7 +19,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/netdevice.h>

1
drivers/net/wireless/prism54/islpci_dev.h

@ -23,7 +23,6 @@
#ifndef _ISLPCI_DEV_H
#define _ISLPCI_DEV_H
#include <linux/version.h>
#include <linux/netdevice.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>

1
drivers/net/wireless/prism54/islpci_eth.c

@ -17,7 +17,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/pci.h>

1
drivers/net/wireless/prism54/islpci_hotplug.c

@ -18,7 +18,6 @@
*
*/
#include <linux/version.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>

1
drivers/pcmcia/au1000_pb1x00.c

@ -30,7 +30,6 @@
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/proc_fs.h>
#include <linux/version.h>
#include <linux/types.h>
#include <pcmcia/cs_types.h>

1
drivers/pcmcia/au1000_xxs1500.c

@ -35,7 +35,6 @@
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/proc_fs.h>
#include <linux/version.h>
#include <linux/types.h>
#include <pcmcia/cs_types.h>

1
drivers/s390/crypto/z90main.c

@ -37,7 +37,6 @@
#include <linux/kobject_uevent.h>
#include <linux/proc_fs.h>
#include <linux/syscalls.h>
#include <linux/version.h>
#include "z90crypt.h"
#include "z90common.h"

1
drivers/s390/net/claw.c

@ -88,7 +88,6 @@
#include <linux/tcp.h>
#include <linux/timer.h>
#include <linux/types.h>
#include <linux/version.h>
#include "cu3088.h"
#include "claw.h"

1
drivers/scsi/3w-xxxx.h

@ -54,7 +54,6 @@
#ifndef _3W_XXXX_H
#define _3W_XXXX_H
#include <linux/version.h>
#include <linux/types.h>
/* AEN strings */

1
drivers/scsi/a2091.c

@ -2,7 +2,6 @@
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/interrupt.h>

1
drivers/scsi/aic7xxx/aic79xx_osm.h

@ -49,7 +49,6 @@
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/smp_lock.h>
#include <linux/version.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/slab.h>

1
drivers/scsi/aic7xxx/aic7xxx_osm.h

@ -66,7 +66,6 @@
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/smp_lock.h>
#include <linux/version.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/slab.h>

1
drivers/scsi/amiga7xx.c

@ -11,7 +11,6 @@
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/config.h>
#include <linux/zorro.h>
#include <linux/stat.h>

1
drivers/scsi/bvme6000.c

@ -7,7 +7,6 @@
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/zorro.h>
#include <asm/setup.h>

1
drivers/scsi/gvp11.c

@ -2,7 +2,6 @@
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/interrupt.h>

6
drivers/scsi/ibmmca.c

@ -18,12 +18,6 @@
*/
#include <linux/config.h>
#ifndef LINUX_VERSION_CODE
#include <linux/version.h>
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)
#error "This driver works only with kernel 2.5.45 or higher!"
#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>

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

Loading…
Cancel
Save