diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/nslu2-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/nslu2-setup.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/arch/arm/mach-ixp4xx/nslu2-setup.c b/arch/arm/mach-ixp4xx/nslu2-setup.c index 1aa45a2e6d62..9bf8ccbcaccf 100644 --- a/arch/arm/mach-ixp4xx/nslu2-setup.c +++ b/arch/arm/mach-ixp4xx/nslu2-setup.c | |||
@@ -50,26 +50,26 @@ static struct ixp4xx_i2c_pins nslu2_i2c_gpio_pins = { | |||
50 | static struct resource nslu2_led_resources[] = { | 50 | static struct resource nslu2_led_resources[] = { |
51 | { | 51 | { |
52 | .name = "ready", /* green led */ | 52 | .name = "ready", /* green led */ |
53 | .start = NSLU2_LED_GRN, | 53 | .start = NSLU2_LED_GRN_GPIO, |
54 | .end = NSLU2_LED_GRN, | 54 | .end = NSLU2_LED_GRN_GPIO, |
55 | .flags = IXP4XX_GPIO_HIGH, | 55 | .flags = IXP4XX_GPIO_HIGH, |
56 | }, | 56 | }, |
57 | { | 57 | { |
58 | .name = "status", /* red led */ | 58 | .name = "status", /* red led */ |
59 | .start = NSLU2_LED_RED, | 59 | .start = NSLU2_LED_RED_GPIO, |
60 | .end = NSLU2_LED_RED, | 60 | .end = NSLU2_LED_RED_GPIO, |
61 | .flags = IXP4XX_GPIO_HIGH, | 61 | .flags = IXP4XX_GPIO_HIGH, |
62 | }, | 62 | }, |
63 | { | 63 | { |
64 | .name = "disk-1", | 64 | .name = "disk-1", |
65 | .start = NSLU2_LED_DISK1, | 65 | .start = NSLU2_LED_DISK1_GPIO, |
66 | .end = NSLU2_LED_DISK1, | 66 | .end = NSLU2_LED_DISK1_GPIO, |
67 | .flags = IXP4XX_GPIO_LOW, | 67 | .flags = IXP4XX_GPIO_LOW, |
68 | }, | 68 | }, |
69 | { | 69 | { |
70 | .name = "disk-2", | 70 | .name = "disk-2", |
71 | .start = NSLU2_LED_DISK2, | 71 | .start = NSLU2_LED_DISK2_GPIO, |
72 | .end = NSLU2_LED_DISK2, | 72 | .end = NSLU2_LED_DISK2_GPIO, |
73 | .flags = IXP4XX_GPIO_LOW, | 73 | .flags = IXP4XX_GPIO_LOW, |
74 | }, | 74 | }, |
75 | }; | 75 | }; |
@@ -181,7 +181,8 @@ static void __init nslu2_init(void) | |||
181 | 181 | ||
182 | pm_power_off = nslu2_power_off; | 182 | pm_power_off = nslu2_power_off; |
183 | 183 | ||
184 | /* This is only useful on a modified machine, but it is valuable | 184 | /* |
185 | * This is only useful on a modified machine, but it is valuable | ||
185 | * to have it first in order to see debug messages, and so that | 186 | * to have it first in order to see debug messages, and so that |
186 | * it does *not* get removed if platform_add_devices fails! | 187 | * it does *not* get removed if platform_add_devices fails! |
187 | */ | 188 | */ |