sparc: Move of_console_{device,path,options} info prom_common.c
authorDavid S. Miller <davem@davemloft.net>
Fri, 5 Dec 2008 23:20:26 +0000 (15:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Dec 2008 02:17:08 +0000 (18:17 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/prom_32.c
arch/sparc/kernel/prom_64.c
arch/sparc/kernel/prom_common.c

index 5ad2012ae104ae52648f2d440b5c18885e52d6ff..f21e8fc9a8fbea2b0102bf6545f61d763e0e3b07 100644 (file)
@@ -166,15 +166,6 @@ char * __init build_path_component(struct device_node *dp)
        return n;
 }
 
-struct device_node *of_console_device;
-EXPORT_SYMBOL(of_console_device);
-
-char *of_console_path;
-EXPORT_SYMBOL(of_console_path);
-
-char *of_console_options;
-EXPORT_SYMBOL(of_console_options);
-
 extern void restore_current(void);
 
 void __init of_console_init(void)
index 3afb838a6e61675304a017b6f645a440737dc096..edecca7b811655546a7aba9d108414ae36c31703 100644 (file)
@@ -526,15 +526,6 @@ void __init of_fill_in_cpu_data(void)
        smp_fill_in_sib_core_maps();
 }
 
-struct device_node *of_console_device;
-EXPORT_SYMBOL(of_console_device);
-
-char *of_console_path;
-EXPORT_SYMBOL(of_console_path);
-
-char *of_console_options;
-EXPORT_SYMBOL(of_console_options);
-
 void __init of_console_init(void)
 {
        char *msg = "OF stdout device is: %s\n";
index 95e8e5d1b0fbaf2eb213e392aacb6271af17f2d9..2736f3d74c7f23703c08a0bc7f50272891d89ab7 100644 (file)
 
 #include "prom.h"
 
+struct device_node *of_console_device;
+EXPORT_SYMBOL(of_console_device);
+
+char *of_console_path;
+EXPORT_SYMBOL(of_console_path);
+
+char *of_console_options;
+EXPORT_SYMBOL(of_console_options);
+
 struct device_node *of_find_node_by_phandle(phandle handle)
 {
        struct device_node *np;