Browse Source

[MTD] Make the function init_vmax301 static

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>
Dmitri Vorobiev 16 năm trước cách đây
mục cha
commit
1aed165a60
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/mtd/maps/vmax301.c

+ 1 - 1
drivers/mtd/maps/vmax301.c

@@ -146,7 +146,7 @@ static void __exit cleanup_vmax301(void)
 	iounmap((void *)vmax_map[0].map_priv_1 - WINDOW_START);
 	iounmap((void *)vmax_map[0].map_priv_1 - WINDOW_START);
 }
 }
 
 
-int __init init_vmax301(void)
+static int __init init_vmax301(void)
 {
 {
 	int i;
 	int i;
 	unsigned long iomapadr;
 	unsigned long iomapadr;