of: Remove duplicate fields from of_platform_driver
[linux-2.6-block.git] / drivers / video / sunxvr1000.c
index ad92a200fafaa107221c540494b0f04cd3f0176a..489b44e8db8153dac7a06bda8abae694c878d7e0 100644 (file)
@@ -199,10 +199,13 @@ static const struct of_device_id gfb_match[] = {
 MODULE_DEVICE_TABLE(of, ffb_match);
 
 static struct of_platform_driver gfb_driver = {
-       .name           = "gfb",
-       .match_table    = gfb_match,
        .probe          = gfb_probe,
        .remove         = __devexit_p(gfb_remove),
+       .driver = {
+               .name           = "gfb",
+               .owner          = THIS_MODULE,
+               .of_match_table = gfb_match,
+       },
 };
 
 static int __init gfb_init(void)