|
@@ -64,7 +64,7 @@
|
|
|
|
|
|
#undef AUTOUNLOCK /* automatically unlocks blocks before erasing */
|
|
#undef AUTOUNLOCK /* automatically unlocks blocks before erasing */
|
|
|
|
|
|
-struct mtd_info *sharp_probe(struct map_info *);
|
|
|
|
|
|
+static struct mtd_info *sharp_probe(struct map_info *);
|
|
|
|
|
|
static int sharp_probe_map(struct map_info *map,struct mtd_info *mtd);
|
|
static int sharp_probe_map(struct map_info *map,struct mtd_info *mtd);
|
|
|
|
|
|
@@ -96,7 +96,6 @@ struct sharp_info{
|
|
struct flchip chips[1];
|
|
struct flchip chips[1];
|
|
};
|
|
};
|
|
|
|
|
|
-struct mtd_info *sharp_probe(struct map_info *map);
|
|
|
|
static void sharp_destroy(struct mtd_info *mtd);
|
|
static void sharp_destroy(struct mtd_info *mtd);
|
|
|
|
|
|
static struct mtd_chip_driver sharp_chipdrv = {
|
|
static struct mtd_chip_driver sharp_chipdrv = {
|
|
@@ -107,7 +106,7 @@ static struct mtd_chip_driver sharp_chipdrv = {
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
-struct mtd_info *sharp_probe(struct map_info *map)
|
|
|
|
|
|
+static struct mtd_info *sharp_probe(struct map_info *map)
|
|
{
|
|
{
|
|
struct mtd_info *mtd = NULL;
|
|
struct mtd_info *mtd = NULL;
|
|
struct sharp_info *sharp = NULL;
|
|
struct sharp_info *sharp = NULL;
|
|
@@ -581,7 +580,7 @@ static void sharp_destroy(struct mtd_info *mtd)
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-int __init sharp_probe_init(void)
|
|
|
|
|
|
+static int __init sharp_probe_init(void)
|
|
{
|
|
{
|
|
printk("MTD Sharp chip driver <ds@lineo.com>\n");
|
|
printk("MTD Sharp chip driver <ds@lineo.com>\n");
|
|
|
|
|