All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] Fix: linux-2.6.16.16/drivers/mtd/maps/nettel.c compile error
@ 2006-05-18 11:52 walter harms
  0 siblings, 0 replies; only message in thread
From: walter harms @ 2006-05-18 11:52 UTC (permalink / raw)
  To: kernel-janitors

hi list,
The attached patch add two missing includes that cause
a missing ROOT_DEV.
compile tested
found with: make randconfig

Signed-off-by: walter harms <wharms@bfs.de>

--- linux-2.6.16.16/drivers/mtd/maps/nettel.c.bak	2006-05-17 
23:03:27.000000000 +0200
+++ linux-2.6.16.16/drivers/mtd/maps/nettel.c	2006-05-17 
23:09:43.000000000 +0200
@@ -20,6 +20,11 @@
  #include <linux/mtd/partitions.h>
  #include <linux/mtd/cfi.h>
  #include <linux/reboot.h>
+#ifndef CONFIG_BLK_DEV_INITRD
+#include <linux/kdev_t.h>
+#include <linux/root_dev.h>
+#endif
+
  #include <asm/io.h>

 
/****************************************************************************/
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-18 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 11:52 [KJ] Fix: linux-2.6.16.16/drivers/mtd/maps/nettel.c compile error walter harms

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.