Another simple fix...the multiple function declarations should be
static. Even better, a lot of the duplication between the driver should
be shared but that I shall leave as an exercises for the maintainer.
Until then, Linus, please apply.
diff -urN linux-2.4.14/drivers/mtd/chips/jedec.c linux/drivers/mtd/chips/jedec.c
--- linux-2.4.14/drivers/mtd/chips/jedec.c Mon Nov 5 20:11:15 2001
+++ linux/drivers/mtd/chips/jedec.c Tue Nov 6 00:19:15 2001
@@ -873,7 +873,7 @@
}
}
-int __init jedec_probe_init(void)
+static int __init jedec_probe_init(void)
{
register_mtd_chip_driver(&jedec_chipdrv);
return 0;
diff -urN linux-2.4.14/drivers/mtd/chips/jedec_probe.c linux/drivers/mtd/chips/jedec_probe.c
--- linux-2.4.14/drivers/mtd/chips/jedec_probe.c Mon Nov 5 20:11:15 2001
+++ linux/drivers/mtd/chips/jedec_probe.c Tue Nov 6 00:19:16 2001
@@ -422,7 +422,7 @@
module: THIS_MODULE
};
-int __init jedec_probe_init(void)
+static int __init jedec_probe_init(void)
{
register_mtd_chip_driver(&jedec_chipdrv);
return 0;
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/