]> err.no Git - linux-2.6/commitdiff
[ARM] pxa: make pxa27x devices globally visible
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 20 Aug 2007 09:09:18 +0000 (10:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 20:14:53 +0000 (21:14 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/devices.h
arch/arm/mach-pxa/pxa27x.c

index 636fdb1c049cd6bfac477d203753f09b8aa75e6f..94c8d5cdd60a9f940298c284ea58ffbbdda4e2b9 100644 (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;
index b3bbf3feef753cdf7150adda0fe6a26af2ba7bca..3710981b72d866fbbd3b23d32b5a083156d916d1 100644 (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,