diff options
Diffstat (limited to 'arch/arm/mach-orion5x/lsmini-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/lsmini-setup.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/arch/arm/mach-orion5x/lsmini-setup.c b/arch/arm/mach-orion5x/lsmini-setup.c index 869958f5c394..9c82723c05c0 100644 --- a/arch/arm/mach-orion5x/lsmini-setup.c +++ b/arch/arm/mach-orion5x/lsmini-setup.c | |||
@@ -201,28 +201,28 @@ static void lsmini_power_off(void) | |||
201 | #define LSMINI_GPIO_HDD_POWER0 1 | 201 | #define LSMINI_GPIO_HDD_POWER0 1 |
202 | #define LSMINI_GPIO_HDD_POWER1 19 | 202 | #define LSMINI_GPIO_HDD_POWER1 19 |
203 | 203 | ||
204 | static struct orion5x_mpp_mode lsmini_mpp_modes[] __initdata = { | 204 | static unsigned int lsmini_mpp_modes[] __initdata = { |
205 | { 0, MPP_UNUSED }, /* LED_RESERVE1 (unused) */ | 205 | MPP0_UNUSED, /* LED_RESERVE1 (unused) */ |
206 | { 1, MPP_GPIO }, /* HDD_PWR */ | 206 | MPP1_GPIO, /* HDD_PWR */ |
207 | { 2, MPP_GPIO }, /* LED_ALARM */ | 207 | MPP2_GPIO, /* LED_ALARM */ |
208 | { 3, MPP_GPIO }, /* LED_INFO */ | 208 | MPP3_GPIO, /* LED_INFO */ |
209 | { 4, MPP_UNUSED }, | 209 | MPP4_UNUSED, |
210 | { 5, MPP_UNUSED }, | 210 | MPP5_UNUSED, |
211 | { 6, MPP_UNUSED }, | 211 | MPP6_UNUSED, |
212 | { 7, MPP_UNUSED }, | 212 | MPP7_UNUSED, |
213 | { 8, MPP_UNUSED }, | 213 | MPP8_UNUSED, |
214 | { 9, MPP_GPIO }, /* LED_FUNC */ | 214 | MPP9_GPIO, /* LED_FUNC */ |
215 | { 10, MPP_UNUSED }, | 215 | MPP10_UNUSED, |
216 | { 11, MPP_UNUSED }, /* LED_ETH (dummy) */ | 216 | MPP11_UNUSED, /* LED_ETH (dummy) */ |
217 | { 12, MPP_UNUSED }, | 217 | MPP12_UNUSED, |
218 | { 13, MPP_UNUSED }, | 218 | MPP13_UNUSED, |
219 | { 14, MPP_GPIO }, /* LED_PWR */ | 219 | MPP14_GPIO, /* LED_PWR */ |
220 | { 15, MPP_GPIO }, /* FUNC */ | 220 | MPP15_GPIO, /* FUNC */ |
221 | { 16, MPP_GPIO }, /* USB_PWR */ | 221 | MPP16_GPIO, /* USB_PWR */ |
222 | { 17, MPP_GPIO }, /* AUTO_POWER */ | 222 | MPP17_GPIO, /* AUTO_POWER */ |
223 | { 18, MPP_GPIO }, /* POWER */ | 223 | MPP18_GPIO, /* POWER */ |
224 | { 19, MPP_GPIO }, /* HDD_PWR1 */ | 224 | MPP19_GPIO, /* HDD_PWR1 */ |
225 | { -1 }, | 225 | 0, |
226 | }; | 226 | }; |
227 | 227 | ||
228 | static void __init lsmini_init(void) | 228 | static void __init lsmini_init(void) |