[ARM] pxa: make pxa27x devices globally visible

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2007-08-20 10:09:18 +01:00 committed by Russell King
parent 15a4033354
commit 00dc4f949e
2 changed files with 5 additions and 2 deletions

View file

@ -9,3 +9,6 @@ extern struct platform_device pxa_device_i2c;
extern struct platform_device pxa_device_i2s;
extern struct platform_device pxa_device_ficp;
extern struct platform_device pxa_device_rtc;
extern struct platform_device pxa27x_device_i2c_power;
extern struct platform_device pxa27x_device_ohci;

View file

@ -282,7 +282,7 @@ static struct resource pxa27x_ohci_resources[] = {
},
};
static struct platform_device pxa27x_device_ohci = {
struct platform_device pxa27x_device_ohci = {
.name = "pxa27x-ohci",
.id = -1,
.dev = {
@ -310,7 +310,7 @@ static struct resource i2c_power_resources[] = {
},
};
static struct platform_device pxa27x_device_i2c_power = {
struct platform_device pxa27x_device_i2c_power = {
.name = "pxa2xx-i2c",
.id = 1,
.resource = i2c_power_resources,