diff options
-rw-r--r-- | arch/mips/ar7/platform.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c index e1675c25d5d4..f09262e0a72f 100644 --- a/arch/mips/ar7/platform.c +++ b/arch/mips/ar7/platform.c | |||
@@ -346,7 +346,7 @@ static struct platform_device ar7_udc = { | |||
346 | /***************************************************************************** | 346 | /***************************************************************************** |
347 | * LEDs | 347 | * LEDs |
348 | ****************************************************************************/ | 348 | ****************************************************************************/ |
349 | static struct gpio_led default_leds[] = { | 349 | static const struct gpio_led default_leds[] = { |
350 | { | 350 | { |
351 | .name = "status", | 351 | .name = "status", |
352 | .gpio = 8, | 352 | .gpio = 8, |
@@ -354,12 +354,12 @@ static struct gpio_led default_leds[] = { | |||
354 | }, | 354 | }, |
355 | }; | 355 | }; |
356 | 356 | ||
357 | static struct gpio_led titan_leds[] = { | 357 | static const struct gpio_led titan_leds[] = { |
358 | { .name = "status", .gpio = 8, .active_low = 1, }, | 358 | { .name = "status", .gpio = 8, .active_low = 1, }, |
359 | { .name = "wifi", .gpio = 13, .active_low = 1, }, | 359 | { .name = "wifi", .gpio = 13, .active_low = 1, }, |
360 | }; | 360 | }; |
361 | 361 | ||
362 | static struct gpio_led dsl502t_leds[] = { | 362 | static const struct gpio_led dsl502t_leds[] = { |
363 | { | 363 | { |
364 | .name = "status", | 364 | .name = "status", |
365 | .gpio = 9, | 365 | .gpio = 9, |
@@ -377,7 +377,7 @@ static struct gpio_led dsl502t_leds[] = { | |||
377 | }, | 377 | }, |
378 | }; | 378 | }; |
379 | 379 | ||
380 | static struct gpio_led dg834g_leds[] = { | 380 | static const struct gpio_led dg834g_leds[] = { |
381 | { | 381 | { |
382 | .name = "ppp", | 382 | .name = "ppp", |
383 | .gpio = 6, | 383 | .gpio = 6, |
@@ -406,7 +406,7 @@ static struct gpio_led dg834g_leds[] = { | |||
406 | }, | 406 | }, |
407 | }; | 407 | }; |
408 | 408 | ||
409 | static struct gpio_led fb_sl_leds[] = { | 409 | static const struct gpio_led fb_sl_leds[] = { |
410 | { | 410 | { |
411 | .name = "1", | 411 | .name = "1", |
412 | .gpio = 7, | 412 | .gpio = 7, |
@@ -433,7 +433,7 @@ static struct gpio_led fb_sl_leds[] = { | |||
433 | }, | 433 | }, |
434 | }; | 434 | }; |
435 | 435 | ||
436 | static struct gpio_led fb_fon_leds[] = { | 436 | static const struct gpio_led fb_fon_leds[] = { |
437 | { | 437 | { |
438 | .name = "1", | 438 | .name = "1", |
439 | .gpio = 8, | 439 | .gpio = 8, |
@@ -459,7 +459,7 @@ static struct gpio_led fb_fon_leds[] = { | |||
459 | }, | 459 | }, |
460 | }; | 460 | }; |
461 | 461 | ||
462 | static struct gpio_led gt701_leds[] = { | 462 | static const struct gpio_led gt701_leds[] = { |
463 | { | 463 | { |
464 | .name = "inet:green", | 464 | .name = "inet:green", |
465 | .gpio = 13, | 465 | .gpio = 13, |