Commit 26eb1085 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by David Woodhouse

[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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 4d9c6a21
...@@ -47,7 +47,7 @@ static struct mtd_partition sharpsl_partitions[1] = { ...@@ -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; struct mtd_partition *parts;
int nb_parts = 0; int nb_parts = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment