| Submitter | Dmitri Vorobiev |
|---|---|
| Date | Nov. 25, 2008, 12:55 a.m. |
| Message ID | <1227574511-23879-18-git-send-email-dmitri.vorobiev@movial.fi> |
| Download | mbox | patch |
| Permalink | /patch/11725/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/drivers/mtd/maps/tqm8xxl.c b/drivers/mtd/maps/tqm8xxl.c index a5d3d85..6014698 100644 --- a/drivers/mtd/maps/tqm8xxl.c +++ b/drivers/mtd/maps/tqm8xxl.c @@ -109,7 +109,7 @@ static struct mtd_partition tqm8xxl_fs_partitions[] = { }; #endif -int __init init_tqm_mtd(void) +static int __init init_tqm_mtd(void) { int idx = 0, ret = 0; unsigned long flash_addr, flash_size, mtd_size = 0;
The init_tqm_mtd function does not need to be defined globally in drivers/mtd/maps/tqm8xxl.c. Make it static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> --- drivers/mtd/maps/tqm8xxl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)