[ARM] pxa: make pxa27x devices globally visible
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
15a4033354
commit
00dc4f949e
@@ -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[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
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[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
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,
|
||||||
|
Reference in New Issue
Block a user