diff options
Diffstat (limited to 'arch/powerpc/kernel/rtas-proc.c')
-rw-r--r-- | arch/powerpc/kernel/rtas-proc.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c index 8777fb02349f..fb2fb3ea85e5 100644 --- a/arch/powerpc/kernel/rtas-proc.c +++ b/arch/powerpc/kernel/rtas-proc.c | |||
@@ -113,17 +113,6 @@ | |||
113 | #define SENSOR_PREFIX "ibm,sensor-" | 113 | #define SENSOR_PREFIX "ibm,sensor-" |
114 | #define cel_to_fahr(x) ((x*9/5)+32) | 114 | #define cel_to_fahr(x) ((x*9/5)+32) |
115 | 115 | ||
116 | |||
117 | /* Globals */ | ||
118 | static struct rtas_sensors sensors; | ||
119 | static struct device_node *rtas_node = NULL; | ||
120 | static unsigned long power_on_time = 0; /* Save the time the user set */ | ||
121 | static char progress_led[MAX_LINELENGTH]; | ||
122 | |||
123 | static unsigned long rtas_tone_frequency = 1000; | ||
124 | static unsigned long rtas_tone_volume = 0; | ||
125 | |||
126 | /* ****************STRUCTS******************************************* */ | ||
127 | struct individual_sensor { | 116 | struct individual_sensor { |
128 | unsigned int token; | 117 | unsigned int token; |
129 | unsigned int quant; | 118 | unsigned int quant; |
@@ -134,6 +123,15 @@ struct rtas_sensors { | |||
134 | unsigned int quant; | 123 | unsigned int quant; |
135 | }; | 124 | }; |
136 | 125 | ||
126 | /* Globals */ | ||
127 | static struct rtas_sensors sensors; | ||
128 | static struct device_node *rtas_node = NULL; | ||
129 | static unsigned long power_on_time = 0; /* Save the time the user set */ | ||
130 | static char progress_led[MAX_LINELENGTH]; | ||
131 | |||
132 | static unsigned long rtas_tone_frequency = 1000; | ||
133 | static unsigned long rtas_tone_volume = 0; | ||
134 | |||
137 | /* ****************************************************************** */ | 135 | /* ****************************************************************** */ |
138 | /* Declarations */ | 136 | /* Declarations */ |
139 | static int ppc_rtas_sensors_show(struct seq_file *m, void *v); | 137 | static int ppc_rtas_sensors_show(struct seq_file *m, void *v); |