Browse Source

[MTD] Make init_sharpsl symbol static

The function init_sharpsl is needlessly defined global.
Make it static by adding the needed keyword to the file
drivers/mtd/maps/sharpsl-flash.c, where the function is
defined.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Dmitri Vorobiev 16 years ago
parent
commit
26eb108570
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/maps/sharpsl-flash.c

+ 1 - 1
drivers/mtd/maps/sharpsl-flash.c

@@ -47,7 +47,7 @@ static struct mtd_partition sharpsl_partitions[1] = {
 	}
 };
 
-int __init init_sharpsl(void)
+static int __init init_sharpsl(void)
 {
 	struct mtd_partition *parts;
 	int nb_parts = 0;