[MTD] Make init_sbc82xx_flash function static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Dec 10 08:59:02 EST 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8d240325b3f7310c5ffc7c5d15e3093462b4cada
Commit: 8d240325b3f7310c5ffc7c5d15e3093462b4cada
Parent: bc185405c84327098b33c11353ca579169f0728f
Author: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:55:11 2008 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:00:47 2008 +0000
[MTD] Make init_sbc82xx_flash function static
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 at movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/maps/wr_sbc82xx_flash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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;
More information about the linux-mtd-cvs
mailing list