提交 00dc4f94 编写于 作者: R Russell King 提交者: Russell King

[ARM] pxa: make pxa27x devices globally visible

Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 15a40333
......@@ -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;
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册