Commit 9ee49fa5 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by David Woodhouse

[MTD] Make init_sbc8240_mtd function static

The function init_sbc8240_mtd is not called from outside the
module drivers/mtd/maps/sbc8240.c where it is defined, so it
can become static. Add the needed keyword.
Signed-off-by: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 26eb1085
...@@ -136,7 +136,7 @@ static struct mtd_part_def sbc8240_part_banks[NUM_FLASH_BANKS]; ...@@ -136,7 +136,7 @@ static struct mtd_part_def sbc8240_part_banks[NUM_FLASH_BANKS];
#endif /* CONFIG_MTD_PARTITIONS */ #endif /* CONFIG_MTD_PARTITIONS */
int __init init_sbc8240_mtd (void) static int __init init_sbc8240_mtd (void)
{ {
static struct _cjs { static struct _cjs {
u_long addr; u_long addr;
......
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