提交 911a3175 编写于 作者: G Grant Likely

[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: NGrant Likely <grant.likely@secretlab.ca>
Acked-by: NPeter Korsgaard <jacmet@sunsite.dk>
上级 99e13912
...@@ -1202,7 +1202,7 @@ static int __devexit ace_of_remove(struct of_device *op) ...@@ -1202,7 +1202,7 @@ static int __devexit ace_of_remove(struct of_device *op)
} }
/* Match table for of_platform binding */ /* 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", }, { .compatible = "xilinx,xsysace", },
{}, {},
}; };
......
...@@ -618,7 +618,7 @@ static int __devexit ulite_of_remove(struct of_device *op) ...@@ -618,7 +618,7 @@ static int __devexit ulite_of_remove(struct of_device *op)
} }
/* Match table for of_platform binding */ /* 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", }, { .type = "serial", .compatible = "xilinx,uartlite", },
{}, {},
}; };
......
...@@ -459,7 +459,7 @@ static int __devexit xilinxfb_of_remove(struct of_device *op) ...@@ -459,7 +459,7 @@ static int __devexit xilinxfb_of_remove(struct of_device *op)
} }
/* Match table for of_platform binding */ /* 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", }, { .compatible = "xilinx,ml300-fb", },
{}, {},
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册