Skip to contentSkip to conversation

Fix: linux-2.6.16.16/drivers/mtd/maps/nettel.c compile error

KJ walter harms 1 participant 1 message May 18, 2006 Kernel janitors

lore
Share & tools
lore
#0 lore raw

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

--- 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
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors