aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lasat/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lasat/sysctl.c')
-rw-r--r--arch/mips/lasat/sysctl.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/mips/lasat/sysctl.c b/arch/mips/lasat/sysctl.c
index 1dbdd76a8c04..14b9a28a4aec 100644
--- a/arch/mips/lasat/sysctl.c
+++ b/arch/mips/lasat/sysctl.c
@@ -182,28 +182,28 @@ static ctl_table lasat_table[] = {
182 .data = &lasat_board_info.li_cpu_hz, 182 .data = &lasat_board_info.li_cpu_hz,
183 .maxlen = sizeof(int), 183 .maxlen = sizeof(int),
184 .mode = 0444, 184 .mode = 0444,
185 .proc_handler = &proc_dointvec, 185 .proc_handler = proc_dointvec,
186 }, 186 },
187 { 187 {
188 .procname = "bus-hz", 188 .procname = "bus-hz",
189 .data = &lasat_board_info.li_bus_hz, 189 .data = &lasat_board_info.li_bus_hz,
190 .maxlen = sizeof(int), 190 .maxlen = sizeof(int),
191 .mode = 0444, 191 .mode = 0444,
192 .proc_handler = &proc_dointvec, 192 .proc_handler = proc_dointvec,
193 }, 193 },
194 { 194 {
195 .procname = "bmid", 195 .procname = "bmid",
196 .data = &lasat_board_info.li_bmid, 196 .data = &lasat_board_info.li_bmid,
197 .maxlen = sizeof(int), 197 .maxlen = sizeof(int),
198 .mode = 0444, 198 .mode = 0444,
199 .proc_handler = &proc_dointvec, 199 .proc_handler = proc_dointvec,
200 }, 200 },
201 { 201 {
202 .procname = "prid", 202 .procname = "prid",
203 .data = &lasat_board_info.li_prid, 203 .data = &lasat_board_info.li_prid,
204 .maxlen = sizeof(int), 204 .maxlen = sizeof(int),
205 .mode = 0644, 205 .mode = 0644,
206 .proc_handler = &proc_lasat_prid, 206 .proc_handler = proc_lasat_prid,
207. }, 207. },
208#ifdef CONFIG_INET 208#ifdef CONFIG_INET
209 { 209 {
@@ -211,14 +211,14 @@ static ctl_table lasat_table[] = {
211 .data = &lasat_board_info.li_eeprom_info.ipaddr, 211 .data = &lasat_board_info.li_eeprom_info.ipaddr,
212 .maxlen = sizeof(int), 212 .maxlen = sizeof(int),
213 .mode = 0644, 213 .mode = 0644,
214 .proc_handler = &proc_lasat_ip, 214 .proc_handler = proc_lasat_ip,
215 }, 215 },
216 { 216 {
217 .procname = "netmask", 217 .procname = "netmask",
218 .data = &lasat_board_info.li_eeprom_info.netmask, 218 .data = &lasat_board_info.li_eeprom_info.netmask,
219 .maxlen = sizeof(int), 219 .maxlen = sizeof(int),
220 .mode = 0644, 220 .mode = 0644,
221 .proc_handler = &proc_lasat_ip, 221 .proc_handler = proc_lasat_ip,
222 }, 222 },
223#endif 223#endif
224 { 224 {
@@ -227,14 +227,14 @@ static ctl_table lasat_table[] = {
227 .maxlen = 227 .maxlen =
228 sizeof(lasat_board_info.li_eeprom_info.passwd_hash), 228 sizeof(lasat_board_info.li_eeprom_info.passwd_hash),
229 .mode = 0600, 229 .mode = 0600,
230 .proc_handler = &proc_dolasatstring, 230 .proc_handler = proc_dolasatstring,
231 }, 231 },
232 { 232 {
233 .procname = "boot-service", 233 .procname = "boot-service",
234 .data = &lasat_boot_to_service, 234 .data = &lasat_boot_to_service,
235 .maxlen = sizeof(int), 235 .maxlen = sizeof(int),
236 .mode = 0644, 236 .mode = 0644,
237 .proc_handler = &proc_dointvec, 237 .proc_handler = proc_dointvec,
238 }, 238 },
239#ifdef CONFIG_DS1603 239#ifdef CONFIG_DS1603
240 { 240 {
@@ -242,7 +242,7 @@ static ctl_table lasat_table[] = {
242 .data = &rtctmp, 242 .data = &rtctmp,
243 .maxlen = sizeof(int), 243 .maxlen = sizeof(int),
244 .mode = 0644, 244 .mode = 0644,
245 .proc_handler = &proc_dolasatrtc, 245 .proc_handler = proc_dolasatrtc,
246 }, 246 },
247#endif 247#endif
248 { 248 {
@@ -250,14 +250,14 @@ static ctl_table lasat_table[] = {
250 .data = &lasat_board_info.li_namestr, 250 .data = &lasat_board_info.li_namestr,
251 .maxlen = sizeof(lasat_board_info.li_namestr), 251 .maxlen = sizeof(lasat_board_info.li_namestr),
252 .mode = 0444, 252 .mode = 0444,
253 .proc_handler = &proc_dostring, 253 .proc_handler = proc_dostring,
254 }, 254 },
255 { 255 {
256 .procname = "typestr", 256 .procname = "typestr",
257 .data = &lasat_board_info.li_typestr, 257 .data = &lasat_board_info.li_typestr,
258 .maxlen = sizeof(lasat_board_info.li_typestr), 258 .maxlen = sizeof(lasat_board_info.li_typestr),
259 .mode = 0444, 259 .mode = 0444,
260 .proc_handler = &proc_dostring, 260 .proc_handler = proc_dostring,
261 }, 261 },
262 {} 262 {}
263}; 263};