diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-08-20 05:09:18 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-12 16:14:53 -0400 |
commit | 00dc4f949e7423769de1a160c590840534ea3a70 (patch) | |
tree | c174efcb8fabf5105eff6ce6ed7a084e77aa4ae8 /arch/arm | |
parent | 15a4033354c68eb75e417ab60771f36212610820 (diff) |
[ARM] pxa: make pxa27x devices globally visible
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/devices.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/devices.h b/arch/arm/mach-pxa/devices.h index 636fdb1c049c..94c8d5cdd60a 100644 --- a/arch/arm/mach-pxa/devices.h +++ b/arch/arm/mach-pxa/devices.h | |||
@@ -9,3 +9,6 @@ extern struct platform_device pxa_device_i2c; | |||
9 | extern struct platform_device pxa_device_i2s; | 9 | extern struct platform_device pxa_device_i2s; |
10 | extern struct platform_device pxa_device_ficp; | 10 | extern struct platform_device pxa_device_ficp; |
11 | extern struct platform_device pxa_device_rtc; | 11 | extern struct platform_device pxa_device_rtc; |
12 | |||
13 | extern struct platform_device pxa27x_device_i2c_power; | ||
14 | extern struct platform_device pxa27x_device_ohci; | ||
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index b3bbf3feef75..3710981b72d8 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -282,7 +282,7 @@ static struct resource pxa27x_ohci_resources[] = { | |||
282 | }, | 282 | }, |
283 | }; | 283 | }; |
284 | 284 | ||
285 | static struct platform_device pxa27x_device_ohci = { | 285 | struct platform_device pxa27x_device_ohci = { |
286 | .name = "pxa27x-ohci", | 286 | .name = "pxa27x-ohci", |
287 | .id = -1, | 287 | .id = -1, |
288 | .dev = { | 288 | .dev = { |
@@ -310,7 +310,7 @@ static struct resource i2c_power_resources[] = { | |||
310 | }, | 310 | }, |
311 | }; | 311 | }; |
312 | 312 | ||
313 | static struct platform_device pxa27x_device_i2c_power = { | 313 | struct platform_device pxa27x_device_i2c_power = { |
314 | .name = "pxa2xx-i2c", | 314 | .name = "pxa2xx-i2c", |
315 | .id = 1, | 315 | .id = 1, |
316 | .resource = i2c_power_resources, | 316 | .resource = i2c_power_resources, |