diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/cobalt/led.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/cobalt/led.c b/arch/mips/cobalt/led.c index 8150af3abb8..1c6ebd468b0 100644 --- a/arch/mips/cobalt/led.c +++ b/arch/mips/cobalt/led.c @@ -22,6 +22,8 @@ #include <linux/ioport.h> #include <linux/platform_device.h> +#include <cobalt.h> + static struct resource cobalt_led_resource __initdata = { .start = 0x1c000000, .end = 0x1c000000, @@ -33,7 +35,11 @@ static __init int cobalt_led_add(void) struct platform_device *pdev; int retval; - pdev = platform_device_alloc("cobalt-raq-leds", -1); + if (cobalt_board_id == COBALT_BRD_ID_QUBE1 || + cobalt_board_id == COBALT_BRD_ID_QUBE2) + pdev = platform_device_alloc("cobalt-qube-leds", -1); + else + pdev = platform_device_alloc("cobalt-raq-leds", -1); if (!pdev) return -ENOMEM; |