projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b0744
)
[MTD] [ONENAND] onenand_sim.c: make struct info static
author
Adrian Bunk
<bunk@stusta.de>
Sun, 29 Jul 2007 14:58:12 +0000
(16:58 +0200)
committer
David Woodhouse
<dwmw2@infradead.org>
Wed, 1 Aug 2007 10:04:26 +0000
(11:04 +0100)
This patch makes the needlessly global struct info static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_sim.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/onenand/onenand_sim.c
b/drivers/mtd/onenand/onenand_sim.c
index
b806673
..
0d89ad5
100644
(file)
--- a/
drivers/mtd/onenand/onenand_sim.c
+++ b/
drivers/mtd/onenand/onenand_sim.c
@@
-78,7
+78,7
@@
struct onenand_info {
struct onenand_flash flash;
};
-struct onenand_info *info;
+st
atic st
ruct onenand_info *info;
#define DPRINTK(format, args...) \
do { \