aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/ar7/platform.c14
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 ****************************************************************************/
349static struct gpio_led default_leds[] = { 349static 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
357static struct gpio_led titan_leds[] = { 357static 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
362static struct gpio_led dsl502t_leds[] = { 362static 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
380static struct gpio_led dg834g_leds[] = { 380static 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
409static struct gpio_led fb_sl_leds[] = { 409static 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
436static struct gpio_led fb_fon_leds[] = { 436static 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
462static struct gpio_led gt701_leds[] = { 462static const struct gpio_led gt701_leds[] = {
463 { 463 {
464 .name = "inet:green", 464 .name = "inet:green",
465 .gpio = 13, 465 .gpio = 13,