Patchwork [09/20,MTD] Make ipaq_mtd_init function static

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

Comments

Dmitri Vorobiev - Nov. 25, 2008, 12:55 a.m.
The symbol ipaq_mtd_init is not used anywhere outside of
drivers/mtd/maps/ipaq-flash.c, so make it static.

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

Patch

diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c
index ed58f6a..748c85f 100644
--- a/drivers/mtd/maps/ipaq-flash.c
+++ b/drivers/mtd/maps/ipaq-flash.c
@@ -202,7 +202,7 @@  static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL };
 
 static int __init h1900_special_case(void);
 
-int __init ipaq_mtd_init(void)
+static int __init ipaq_mtd_init(void)
 {
 	struct mtd_partition *parts = NULL;
 	int nb_parts = 0;