Commit 00dc4f94 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] pxa: make pxa27x devices globally visible

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 15a40333
...@@ -9,3 +9,6 @@ extern struct platform_device pxa_device_i2c; ...@@ -9,3 +9,6 @@ extern struct platform_device pxa_device_i2c;
extern struct platform_device pxa_device_i2s; extern struct platform_device pxa_device_i2s;
extern struct platform_device pxa_device_ficp; extern struct platform_device pxa_device_ficp;
extern struct platform_device pxa_device_rtc; extern struct platform_device pxa_device_rtc;
extern struct platform_device pxa27x_device_i2c_power;
extern struct platform_device pxa27x_device_ohci;
...@@ -282,7 +282,7 @@ static struct resource pxa27x_ohci_resources[] = { ...@@ -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", .name = "pxa27x-ohci",
.id = -1, .id = -1,
.dev = { .dev = {
...@@ -310,7 +310,7 @@ static struct resource i2c_power_resources[] = { ...@@ -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", .name = "pxa2xx-i2c",
.id = 1, .id = 1,
.resource = i2c_power_resources, .resource = i2c_power_resources,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment