Skip to contentSkip to conversation

Fix incorrectly tagged __devinitdata structures

PATCH New Grant Likely 1 participant 1 message Feb 1, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix incorrectly tagged __devinitdata structures

From: Grant Likely <[email protected]>

Fix compile errors in the xilinxfb, xsysace and uartlite drivers used by the Xilinx Virtex platform

---

Paul, Josh: this fixes a compile error in mainline.

 drivers/block/xsysace.c   |    2 +-
 drivers/serial/uartlite.c |    2 +-
 drivers/video/xilinxfb.c  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/block/xsysace.c +1 -1
index 78ebfff..1110e1b 100644
@@ -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", },
 	{},
 };
drivers/serial/uartlite.c +1 -1
index 8094340..c54a5ad 100644
@@ -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", },
 	{},
 };
drivers/video/xilinxfb.c +1 -1
index e38d3b7..c92e99e 100644
@@ -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", },
 	{},
 };