aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-realview/core.c')
-rw-r--r--arch/arm/mach-realview/core.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c
index 1d5ee5c9a1dc..960b8dd78c44 100644
--- a/arch/arm/mach-realview/core.c
+++ b/arch/arm/mach-realview/core.c
@@ -148,6 +148,21 @@ struct platform_device realview_cf_device = {
148 }, 148 },
149}; 149};
150 150
151static struct resource realview_leds_resources[] = {
152 {
153 .start = REALVIEW_SYS_BASE + REALVIEW_SYS_LED_OFFSET,
154 .end = REALVIEW_SYS_BASE + REALVIEW_SYS_LED_OFFSET + 4,
155 .flags = IORESOURCE_MEM,
156 },
157};
158
159struct platform_device realview_leds_device = {
160 .name = "versatile-leds",
161 .id = -1,
162 .num_resources = ARRAY_SIZE(realview_leds_resources),
163 .resource = realview_leds_resources,
164};
165
151static struct resource realview_i2c_resource = { 166static struct resource realview_i2c_resource = {
152 .start = REALVIEW_I2C_BASE, 167 .start = REALVIEW_I2C_BASE,
153 .end = REALVIEW_I2C_BASE + SZ_4K - 1, 168 .end = REALVIEW_I2C_BASE + SZ_4K - 1,