]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
make init/do_mounts.c:root_device_name static
authorAdrian Bunk <bunk@kernel.org>
Sat, 26 Jul 2008 02:46:25 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:12 +0000 (12:00 -0700)
This patch makes the needlessly global root_device_name static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts.c
init/do_mounts.h

index f769fac4f4c0de2c1904de7dd3e2e152e196a33a..3715feb8446d5c84796310e975d4948fd88df9ea 100644 (file)
@@ -23,7 +23,7 @@
 int __initdata rd_doload;      /* 1 = load RAM disk, 0 = don't load */
 
 int root_mountflags = MS_RDONLY | MS_SILENT;
-char * __initdata root_device_name;
+static char * __initdata root_device_name;
 static char __initdata saved_root_name[64];
 static int __initdata root_wait;
 
index 735705d137ff9beaf0f7866e7c804d7080183780..9aa968d5432937a3aeb799d87ff42e87dfb5c871 100644 (file)
@@ -11,7 +11,6 @@ void  change_floppy(char *fmt, ...);
 void  mount_block_root(char *name, int flags);
 void  mount_root(void);
 extern int root_mountflags;
-extern char *root_device_name;
 
 static inline int create_dev(char *name, dev_t dev)
 {