Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66191
b: refs/heads/master
c: 9a20375
h: refs/heads/master
i:
  66189: 2ebbfea
  66187: d31d7a8
  66183: 8e37945
  66175: 8d1061e
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Oct 11, 2007
1 parent 46d230b commit e35c399
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e86169fffedc2f461be6f70817ae5ab201c12fd5
refs/heads/master: 9a203755ca392587953be2b5cf235800dcb27d8e
8 changes: 7 additions & 1 deletion trunk/arch/mips/cobalt/led.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
Expand Down

0 comments on commit e35c399

Please sign in to comment.