[POWERPC] Fix incorrectly tagged __devinitdata structures
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Feb 2008 17:23:12 +0000 (10:23 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Feb 2008 17:23:12 +0000 (10:23 -0700)
Fix compile errors in the xilinxfb, xsysace and uartlite drivers used
by the Xilinx Virtex platform

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
drivers/block/xsysace.c
drivers/serial/uartlite.c
drivers/video/xilinxfb.c

index 78ebfffc77e33627b788e52e72094329e226f91a..1110e1b60712ac5e100788c53bf97399bbc948dd 100644 (file)
@@ -1202,7 +1202,7 @@ static int __devexit ace_of_remove(struct of_device *op)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinit ace_of_match[] = {
+static struct of_device_id ace_of_match[] __devinitdata = {
        { .compatible = "xilinx,xsysace", },
        {},
 };
index 80943409edb000cd0c6202934325aaa1706c5f25..c54a5ad992b1a42e665c1ded815af22de9ad8bd8 100644 (file)
@@ -618,7 +618,7 @@ static int __devexit ulite_of_remove(struct of_device *op)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinit ulite_of_match[] = {
+static struct of_device_id ulite_of_match[] __devinitdata = {
        { .type = "serial", .compatible = "xilinx,uartlite", },
        {},
 };
index e38d3b7c3ad7b28e5b63909a83885ff535d17f17..c92e99eced295753618753e94afdcfdc4b2f997a 100644 (file)
@@ -459,7 +459,7 @@ static int __devexit xilinxfb_of_remove(struct of_device *op)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinit xilinxfb_of_match[] = {
+static struct of_device_id xilinxfb_of_match[] __devinitdata = {
        { .compatible = "xilinx,ml300-fb", },
        {},
 };