projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6127cfc
)
[MTD] Make init_redwood_flash function static
author
Dmitri Vorobiev
<dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:04 +0000
(
02:55
+0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:29 +0000
(13:01 +0000)
The function init_redwood_flash is needlessly defined global,
make it static by this patch.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/redwood.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/redwood.c
b/drivers/mtd/maps/redwood.c
index de002eb1a7fe3a943753b2622a2dd64f7cea909a..933c0b63b0167d78eea816471f67e9fe9c12b9ab 100644
(file)
--- 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;