Patchwork [13/20,MTD] Make init_redwood_flash function static

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

Comments

Dmitri Vorobiev - Nov. 25, 2008, 12:55 a.m.
The function init_redwood_flash is needlessly defined global,
make it static by this patch.

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

Patch

diff --git a/drivers/mtd/maps/redwood.c b/drivers/mtd/maps/redwood.c
index de002eb..933c0b6 100644
--- a/drivers/mtd/maps/redwood.c
+++ b/drivers/mtd/maps/redwood.c
@@ -122,7 +122,7 @@  struct map_info redwood_flash_map = {
 
 static struct mtd_info *redwood_mtd;
 
-int __init init_redwood_flash(void)
+static int __init init_redwood_flash(void)
 {
 	int err;