Patchwork [20/20,MTD] Make init_sbc82xx_flash function static

login
register
mail settings
Submitter Dmitri Vorobiev
Date Nov. 25, 2008, 12:55 a.m.
Message ID <1227574511-23879-21-git-send-email-dmitri.vorobiev@movial.fi>
Download mbox | patch
Permalink /patch/11723/
State Accepted
Commit 8d240325b3f7310c5ffc7c5d15e3093462b4cada
Headers show

Comments

Dmitri Vorobiev - Nov. 25, 2008, 12:55 a.m.
The function init_sbc82xx_flash is needlessly defined global in
drivers/mtd/maps/wr_sbc82xx_flash.c, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
---
 drivers/mtd/maps/wr_sbc82xx_flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/mtd/maps/wr_sbc82xx_flash.c b/drivers/mtd/maps/wr_sbc82xx_flash.c
index 413b0cf..933a2b6 100644
--- a/drivers/mtd/maps/wr_sbc82xx_flash.c
+++ b/drivers/mtd/maps/wr_sbc82xx_flash.c
@@ -74,7 +74,7 @@  do {								\
 	}							\
 } while (0);
 
-int __init init_sbc82xx_flash(void)
+static int __init init_sbc82xx_flash(void)
 {
 	volatile memctl_cpm2_t *mc = &cpm2_immr->im_memctl;
 	int bigflash;