Skip to content

Commit

Permalink
[POWERPC] Fix incorrectly tagged __devinitdata structures
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Likely committed Feb 6, 2008
1 parent 99e1391 commit 911a317
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/block/xsysace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/serial/uartlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/xilinxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down

0 comments on commit 911a317

Please sign in to comment.