[15/20,MTD] Make init_sbc8240_mtd function static
diff mbox

Message ID 1227574511-23879-16-git-send-email-dmitri.vorobiev@movial.fi
State Accepted
Commit 9ee49fa5c1b58453cb97969a8282fd7bbf0ad0d4
Headers show

Commit Message

Dmitri Vorobiev Nov. 25, 2008, 12:55 a.m. UTC
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: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
 drivers/mtd/maps/sbc8240.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff mbox

diff --git a/drivers/mtd/maps/sbc8240.c b/drivers/mtd/maps/sbc8240.c
index 6e1e99c..d5374cd 100644
--- a/drivers/mtd/maps/sbc8240.c
+++ b/drivers/mtd/maps/sbc8240.c
@@ -136,7 +136,7 @@  static struct mtd_part_def sbc8240_part_banks[NUM_FLASH_BANKS];
-int __init init_sbc8240_mtd (void)
+static int __init init_sbc8240_mtd (void)
 	static struct _cjs {
 		u_long addr;