kernel_optimize_test/drivers/mtd
Olaf Hering 733482e445 [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>
2005-11-09 07:55:57 -08:00
..
chips [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
devices [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
maps [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
nand [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
onenand [PATCH] mtd: onenand_base needs sched.h 2005-11-09 07:55:50 -08:00
afs.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
cmdlinepart.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
ftl.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
inftlcore.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
inftlmount.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
Kconfig [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
Makefile
mtd_blkdevs.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
mtdblock_ro.c
mtdblock.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
mtdchar.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
mtdconcat.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
mtdcore.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
mtdpart.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
nftlcore.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
nftlmount.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
redboot.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
rfd_ftl.c [PATCH] mtd: rfd_ftl build fix 2005-11-09 07:55:50 -08:00