diff options
author | Sekhar Nori <nsekhar@ti.com> | 2013-04-10 05:27:12 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-04-17 12:30:09 -0400 |
commit | 58b6c5a133297e0154a085cc73e832222c57729c (patch) | |
tree | 3565b4fe06a9efcb9b6c8dc87ef3c8827c2c0ee0 /arch/arm/mach-davinci | |
parent | 5428813499ea1302f032e0063e4e2d4a56b36221 (diff) |
ARM: davinci: da850 evm: fix const qualifier placement
const qualifier was misplaced in couple of definitions.
This fixes the sparse error:
CHECK arch/arm/mach-davinci/board-mityomapl138.c
arch/arm/mach-davinci/board-da850-evm.c:404:19: error: Just how const do you want this type to be?
arch/arm/mach-davinci/board-da850-evm.c:568:19: error: Just how const do you want this type to be?
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 7d1721d4ba18..ba739e5ac3fb 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -401,7 +401,7 @@ enum da850_evm_ui_exp_pins { | |||
401 | DA850_EVM_UI_EXP_PB1, | 401 | DA850_EVM_UI_EXP_PB1, |
402 | }; | 402 | }; |
403 | 403 | ||
404 | static const char const *da850_evm_ui_exp[] = { | 404 | static const char * const da850_evm_ui_exp[] = { |
405 | [DA850_EVM_UI_EXP_SEL_C] = "sel_c", | 405 | [DA850_EVM_UI_EXP_SEL_C] = "sel_c", |
406 | [DA850_EVM_UI_EXP_SEL_B] = "sel_b", | 406 | [DA850_EVM_UI_EXP_SEL_B] = "sel_b", |
407 | [DA850_EVM_UI_EXP_SEL_A] = "sel_a", | 407 | [DA850_EVM_UI_EXP_SEL_A] = "sel_a", |
@@ -565,7 +565,7 @@ enum da850_evm_bb_exp_pins { | |||
565 | DA850_EVM_BB_EXP_USER_SW8 | 565 | DA850_EVM_BB_EXP_USER_SW8 |
566 | }; | 566 | }; |
567 | 567 | ||
568 | static const char const *da850_evm_bb_exp[] = { | 568 | static const char * const da850_evm_bb_exp[] = { |
569 | [DA850_EVM_BB_EXP_DEEP_SLEEP_EN] = "deep_sleep_en", | 569 | [DA850_EVM_BB_EXP_DEEP_SLEEP_EN] = "deep_sleep_en", |
570 | [DA850_EVM_BB_EXP_SW_RST] = "sw_rst", | 570 | [DA850_EVM_BB_EXP_SW_RST] = "sw_rst", |
571 | [DA850_EVM_BB_EXP_TP_23] = "tp_23", | 571 | [DA850_EVM_BB_EXP_TP_23] = "tp_23", |