aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/central.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/central.c')
-rw-r--r--arch/sparc/kernel/central.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/kernel/central.c b/arch/sparc/kernel/central.c
index f3b5466c389c..415c86d5a8da 100644
--- a/arch/sparc/kernel/central.c
+++ b/arch/sparc/kernel/central.c
@@ -5,6 +5,7 @@
5 5
6#include <linux/kernel.h> 6#include <linux/kernel.h>
7#include <linux/types.h> 7#include <linux/types.h>
8#include <linux/slab.h>
8#include <linux/string.h> 9#include <linux/string.h>
9#include <linux/init.h> 10#include <linux/init.h>
10#include <linux/of_device.h> 11#include <linux/of_device.h>
@@ -99,7 +100,7 @@ static int __devinit clock_board_probe(struct of_device *op,
99 100
100 p->leds_resource.start = (unsigned long) 101 p->leds_resource.start = (unsigned long)
101 (p->clock_regs + CLOCK_CTRL); 102 (p->clock_regs + CLOCK_CTRL);
102 p->leds_resource.end = p->leds_resource.end; 103 p->leds_resource.end = p->leds_resource.start;
103 p->leds_resource.name = "leds"; 104 p->leds_resource.name = "leds";
104 105
105 p->leds_pdev.name = "sunfire-clockboard-leds"; 106 p->leds_pdev.name = "sunfire-clockboard-leds";
@@ -194,7 +195,7 @@ static int __devinit fhc_probe(struct of_device *op,
194 if (!p->central) { 195 if (!p->central) {
195 p->leds_resource.start = (unsigned long) 196 p->leds_resource.start = (unsigned long)
196 (p->pregs + FHC_PREGS_CTRL); 197 (p->pregs + FHC_PREGS_CTRL);
197 p->leds_resource.end = p->leds_resource.end; 198 p->leds_resource.end = p->leds_resource.start;
198 p->leds_resource.name = "leds"; 199 p->leds_resource.name = "leds";
199 200
200 p->leds_pdev.name = "sunfire-fhc-leds"; 201 p->leds_pdev.name = "sunfire-fhc-leds";