Skip to content

Commit 911a317

Browse files
committed
[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>
1 parent 99e1391 commit 911a317

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/block/xsysace.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ static int __devexit ace_of_remove(struct of_device *op)
12021202
}
12031203

12041204
/* 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 = {
12061206
{ .compatible = "xilinx,xsysace", },
12071207
{},
12081208
};

‎drivers/serial/uartlite.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ static int __devexit ulite_of_remove(struct of_device *op)
618618
}
619619

620620
/* 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 = {
622622
{ .type = "serial", .compatible = "xilinx,uartlite", },
623623
{},
624624
};

‎drivers/video/xilinxfb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static int __devexit xilinxfb_of_remove(struct of_device *op)
459459
}
460460

461461
/* 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 = {
463463
{ .compatible = "xilinx,ml300-fb", },
464464
{},
465465
};

0 commit comments

Comments
 (0)