diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-02-06 12:23:12 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-02-06 12:23:12 -0500 |
commit | 911a3175997000c1fcddb2013aaa5fbbee79f0f0 (patch) | |
tree | 8c858443b2dc91296da3f7857979f7a2b0dca1cb | |
parent | 99e139126ab2e84be67969650f92eb37c12ab5cd (diff) |
[POWERPC] Fix incorrectly tagged __devinitdata structures
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>
-rw-r--r-- | drivers/block/xsysace.c | 2 | ||||
-rw-r--r-- | drivers/serial/uartlite.c | 2 | ||||
-rw-r--r-- | drivers/video/xilinxfb.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 78ebfffc77e3..1110e1b60712 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c | |||
@@ -1202,7 +1202,7 @@ static int __devexit ace_of_remove(struct of_device *op) | |||
1202 | } | 1202 | } |
1203 | 1203 | ||
1204 | /* Match table for of_platform binding */ | 1204 | /* Match table for of_platform binding */ |
1205 | static struct of_device_id __devinit ace_of_match[] = { | 1205 | static struct of_device_id ace_of_match[] __devinitdata = { |
1206 | { .compatible = "xilinx,xsysace", }, | 1206 | { .compatible = "xilinx,xsysace", }, |
1207 | {}, | 1207 | {}, |
1208 | }; | 1208 | }; |
diff --git a/drivers/serial/uartlite.c b/drivers/serial/uartlite.c index 80943409edb0..c54a5ad992b1 100644 --- a/drivers/serial/uartlite.c +++ b/drivers/serial/uartlite.c | |||
@@ -618,7 +618,7 @@ static int __devexit ulite_of_remove(struct of_device *op) | |||
618 | } | 618 | } |
619 | 619 | ||
620 | /* Match table for of_platform binding */ | 620 | /* Match table for of_platform binding */ |
621 | static struct of_device_id __devinit ulite_of_match[] = { | 621 | static struct of_device_id ulite_of_match[] __devinitdata = { |
622 | { .type = "serial", .compatible = "xilinx,uartlite", }, | 622 | { .type = "serial", .compatible = "xilinx,uartlite", }, |
623 | {}, | 623 | {}, |
624 | }; | 624 | }; |
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index e38d3b7c3ad7..c92e99eced29 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c | |||
@@ -459,7 +459,7 @@ static int __devexit xilinxfb_of_remove(struct of_device *op) | |||
459 | } | 459 | } |
460 | 460 | ||
461 | /* Match table for of_platform binding */ | 461 | /* Match table for of_platform binding */ |
462 | static struct of_device_id __devinit xilinxfb_of_match[] = { | 462 | static struct of_device_id xilinxfb_of_match[] __devinitdata = { |
463 | { .compatible = "xilinx,ml300-fb", }, | 463 | { .compatible = "xilinx,ml300-fb", }, |
464 | {}, | 464 | {}, |
465 | }; | 465 | }; |