* [PATCH] remove unnecessary inclusion of <asm/setup.h>
@ 2003-10-23 1:15 Jun Sun
2003-10-23 8:36 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Jun Sun @ 2003-10-23 1:15 UTC (permalink / raw)
To: linux-mtd
[-- Attachment #1: Type: text/plain, Size: 127 bytes --]
I don't see any purpose of including this file. Furthermore
<asm/setup.h> does not even exist on MIPS and other arches.
Jun
[-- Attachment #2: remove-bogus-asm-setup.h-inclusion.patch --]
[-- Type: text/plain, Size: 403 bytes --]
diff -Nru linux/drivers/mtd/cmdlinepart.c.orig linux/drivers/mtd/cmdlinepart.c
--- linux/drivers/mtd/cmdlinepart.c.orig Mon Jul 21 08:14:02 2003
+++ linux/drivers/mtd/cmdlinepart.c Wed Oct 22 15:43:03 2003
@@ -29,7 +29,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/compatmac.h>
-#include <asm/setup.h>
#include <linux/bootmem.h>
/* error message prefix */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-23 8:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-23 1:15 [PATCH] remove unnecessary inclusion of <asm/setup.h> Jun Sun
2003-10-23 8:36 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox