Skip to content

Commit

Permalink
[MTD] [ONENAND] onenand_sim.c: make struct info static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Aug 1, 2007
1 parent d9b0744 commit 73ff007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/onenand/onenand_sim.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct onenand_info {
struct onenand_flash flash;
};

struct onenand_info *info;
static struct onenand_info *info;

#define DPRINTK(format, args...) \
do { \
Expand Down

0 comments on commit 73ff007

Please sign in to comment.