]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Remove <asm/setup.h> from cmdlinepart.c
authorAndrew Morton <akpm@osdl.org>
Sat, 27 Mar 2004 05:02:33 +0000 (21:02 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 27 Mar 2004 05:02:33 +0000 (21:02 -0800)
From: Bjorn Helgaas <bjorn.helgaas@hp.com>

Remove include of <asm/setup.h> from cmdlinepart.c.  This is not be needed
for i386 (it builds fine with this patch), and ia64 doesn't supply a
setup.h.

asm/setup.h contains a hodge-podge of stuff with no real
consistency between architectures.  It appears to be
included mainly by arch-specific drivers:
acsi (Atari disks)
amiflop (Amiga floppy)
z2ram (ZorroII ram disk)
amiserial (Amiga serial)
...
and under arch-specific #ifdefs:
fbcon (under __mc68000__ or CONFIG_APUS)
fonts (ditto)
logo (CONFIG_M68K)
...

drivers/mtd/cmdlinepart.c

index 867fe084f05d9dcef676b995c6474796aae379e1..99d4c40803b5e6beb14d2700ba751b8d63957b8b 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
-#include <asm/setup.h>
 #include <linux/bootmem.h>
 
 /* error message prefix */