diff options
Diffstat (limited to 'arch/arm/mach-orion5x/edmini_v2-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/edmini_v2-setup.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/arch/arm/mach-orion5x/edmini_v2-setup.c b/arch/arm/mach-orion5x/edmini_v2-setup.c index d037a90c216c..b67cff0d4cfe 100644 --- a/arch/arm/mach-orion5x/edmini_v2-setup.c +++ b/arch/arm/mach-orion5x/edmini_v2-setup.c | |||
@@ -180,31 +180,31 @@ static struct platform_device edmini_v2_gpio_buttons = { | |||
180 | /***************************************************************************** | 180 | /***************************************************************************** |
181 | * General Setup | 181 | * General Setup |
182 | ****************************************************************************/ | 182 | ****************************************************************************/ |
183 | static struct orion5x_mpp_mode edminiv2_mpp_modes[] __initdata = { | 183 | static unsigned int edminiv2_mpp_modes[] __initdata = { |
184 | { 0, MPP_UNUSED }, | 184 | MPP0_UNUSED, |
185 | { 1, MPP_UNUSED }, | 185 | MPP1_UNUSED, |
186 | { 2, MPP_UNUSED }, | 186 | MPP2_UNUSED, |
187 | { 3, MPP_GPIO }, /* RTC interrupt */ | 187 | MPP3_GPIO, /* RTC interrupt */ |
188 | { 4, MPP_UNUSED }, | 188 | MPP4_UNUSED, |
189 | { 5, MPP_UNUSED }, | 189 | MPP5_UNUSED, |
190 | { 6, MPP_UNUSED }, | 190 | MPP6_UNUSED, |
191 | { 7, MPP_UNUSED }, | 191 | MPP7_UNUSED, |
192 | { 8, MPP_UNUSED }, | 192 | MPP8_UNUSED, |
193 | { 9, MPP_UNUSED }, | 193 | MPP9_UNUSED, |
194 | { 10, MPP_UNUSED }, | 194 | MPP10_UNUSED, |
195 | { 11, MPP_UNUSED }, | 195 | MPP11_UNUSED, |
196 | { 12, MPP_SATA_LED }, /* SATA 0 presence */ | 196 | MPP12_SATA_LED, /* SATA 0 presence */ |
197 | { 13, MPP_SATA_LED }, /* SATA 1 presence */ | 197 | MPP13_SATA_LED, /* SATA 1 presence */ |
198 | { 14, MPP_SATA_LED }, /* SATA 0 active */ | 198 | MPP14_SATA_LED, /* SATA 0 active */ |
199 | { 15, MPP_SATA_LED }, /* SATA 1 active */ | 199 | MPP15_SATA_LED, /* SATA 1 active */ |
200 | /* 16: Power LED control (0 = On, 1 = Off) */ | 200 | /* 16: Power LED control (0 = On, 1 = Off) */ |
201 | { 16, MPP_GPIO }, | 201 | MPP16_GPIO, |
202 | /* 17: Power LED control select (0 = CPLD, 1 = GPIO16) */ | 202 | /* 17: Power LED control select (0 = CPLD, 1 = GPIO16) */ |
203 | { 17, MPP_GPIO }, | 203 | MPP17_GPIO, |
204 | /* 18: Power button status (0 = Released, 1 = Pressed) */ | 204 | /* 18: Power button status (0 = Released, 1 = Pressed) */ |
205 | { 18, MPP_GPIO }, | 205 | MPP18_GPIO, |
206 | { 19, MPP_UNUSED }, | 206 | MPP19_UNUSED, |
207 | { -1 } | 207 | 0, |
208 | }; | 208 | }; |
209 | 209 | ||
210 | static void __init edmini_v2_init(void) | 210 | static void __init edmini_v2_init(void) |