-#ifdef CONFIG_LEDS_IXP4XX
-static struct resource nslu2_led_resources[] = {
- {
- .name = "ready", /* green led */
- .start = NSLU2_LED_GRN,
- .end = NSLU2_LED_GRN,
- .flags = IXP4XX_GPIO_HIGH,
- },
- {
- .name = "status", /* red led */
- .start = NSLU2_LED_RED,
- .end = NSLU2_LED_RED,
- .flags = IXP4XX_GPIO_HIGH,
- },
- {
- .name = "disk-1",
- .start = NSLU2_LED_DISK1,
- .end = NSLU2_LED_DISK1,
- .flags = IXP4XX_GPIO_LOW,
- },
- {
- .name = "disk-2",
- .start = NSLU2_LED_DISK2,
- .end = NSLU2_LED_DISK2,
- .flags = IXP4XX_GPIO_LOW,
- },
-};
-
-static struct platform_device nslu2_leds = {
- .name = "IXP4XX-GPIO-LED",
- .id = -1,
- .num_resources = ARRAY_SIZE(nslu2_led_resources),
- .resource = nslu2_led_resources,
-};
-#endif
-