diff options
Diffstat (limited to 'arch/arm/mach-orion5x/d2net-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/d2net-setup.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/arch/arm/mach-orion5x/d2net-setup.c b/arch/arm/mach-orion5x/d2net-setup.c index 425807579303..19cf5bf99f1b 100644 --- a/arch/arm/mach-orion5x/d2net-setup.c +++ b/arch/arm/mach-orion5x/d2net-setup.c | |||
@@ -267,28 +267,28 @@ static struct platform_device d2net_gpio_buttons = { | |||
267 | * General Setup | 267 | * General Setup |
268 | ****************************************************************************/ | 268 | ****************************************************************************/ |
269 | 269 | ||
270 | static struct orion5x_mpp_mode d2net_mpp_modes[] __initdata = { | 270 | static unsigned int d2net_mpp_modes[] __initdata = { |
271 | { 0, MPP_GPIO }, /* Board ID (bit 0) */ | 271 | MPP0_GPIO, /* Board ID (bit 0) */ |
272 | { 1, MPP_GPIO }, /* Board ID (bit 1) */ | 272 | MPP1_GPIO, /* Board ID (bit 1) */ |
273 | { 2, MPP_GPIO }, /* Board ID (bit 2) */ | 273 | MPP2_GPIO, /* Board ID (bit 2) */ |
274 | { 3, MPP_GPIO }, /* SATA 0 power */ | 274 | MPP3_GPIO, /* SATA 0 power */ |
275 | { 4, MPP_UNUSED }, | 275 | MPP4_UNUSED, |
276 | { 5, MPP_GPIO }, /* Fan fail detection */ | 276 | MPP5_GPIO, /* Fan fail detection */ |
277 | { 6, MPP_GPIO }, /* Red front LED */ | 277 | MPP6_GPIO, /* Red front LED */ |
278 | { 7, MPP_UNUSED }, | 278 | MPP7_UNUSED, |
279 | { 8, MPP_GPIO }, /* Rear power switch (on|auto) */ | 279 | MPP8_GPIO, /* Rear power switch (on|auto) */ |
280 | { 9, MPP_GPIO }, /* Rear power switch (auto|off) */ | 280 | MPP9_GPIO, /* Rear power switch (auto|off) */ |
281 | { 10, MPP_UNUSED }, | 281 | MPP10_UNUSED, |
282 | { 11, MPP_UNUSED }, | 282 | MPP11_UNUSED, |
283 | { 12, MPP_GPIO }, /* SATA 1 power */ | 283 | MPP12_GPIO, /* SATA 1 power */ |
284 | { 13, MPP_UNUSED }, | 284 | MPP13_UNUSED, |
285 | { 14, MPP_SATA_LED }, /* SATA 0 active */ | 285 | MPP14_SATA_LED, /* SATA 0 active */ |
286 | { 15, MPP_SATA_LED }, /* SATA 1 active */ | 286 | MPP15_SATA_LED, /* SATA 1 active */ |
287 | { 16, MPP_GPIO }, /* Blue front LED blink control */ | 287 | MPP16_GPIO, /* Blue front LED blink control */ |
288 | { 17, MPP_UNUSED }, | 288 | MPP17_UNUSED, |
289 | { 18, MPP_GPIO }, /* Front button (0 = Released, 1 = Pushed ) */ | 289 | MPP18_GPIO, /* Front button (0 = Released, 1 = Pushed ) */ |
290 | { 19, MPP_UNUSED }, | 290 | MPP19_UNUSED, |
291 | { -1 } | 291 | 0, |
292 | /* 22: USB port 1 fuse (0 = Fail, 1 = Ok) */ | 292 | /* 22: USB port 1 fuse (0 = Fail, 1 = Ok) */ |
293 | /* 23: Blue front LED off */ | 293 | /* 23: Blue front LED off */ |
294 | /* 24: Inhibit board power off (0 = Disabled, 1 = Enabled) */ | 294 | /* 24: Inhibit board power off (0 = Disabled, 1 = Enabled) */ |