Skip to content

Commit

Permalink
[MTD] Make the function init_vmax301 static
Browse files Browse the repository at this point in the history
The function init_vmax301 is needlessly defined global in
drivers/mtd/maps/vmax301.c, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Dmitri Vorobiev authored and David Woodhouse committed Dec 10, 2008
1 parent e63b3f9 commit 1aed165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/vmax301.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static void __exit cleanup_vmax301(void)
iounmap((void *)vmax_map[0].map_priv_1 - WINDOW_START);
}

int __init init_vmax301(void)
static int __init init_vmax301(void)
{
int i;
unsigned long iomapadr;
Expand Down

0 comments on commit 1aed165

Please sign in to comment.