Commit b93dc2e9 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by David Woodhouse

[MTD] Make alchemy_mtd_init function static

The symbol alchemy_mtd_init does not need to be global, so make it
static in drivers/mtd/maps/alchemy-flash.c.
Signed-off-by: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 9bd1c9da
...@@ -111,7 +111,7 @@ static struct mtd_partition alchemy_partitions[] = { ...@@ -111,7 +111,7 @@ static struct mtd_partition alchemy_partitions[] = {
static struct mtd_info *mymtd; static struct mtd_info *mymtd;
int __init alchemy_mtd_init(void) static int __init alchemy_mtd_init(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