]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/video/leo.c
of: Remove duplicate fields from of_platform_driver
[net-next-2.6.git] / drivers / video / leo.c
index 1db55f128490213ebfc35a6ad6ed87176af670fb..3d7895316eaf37e79bb56f2413d748fcbdfca131 100644 (file)
@@ -663,8 +663,11 @@ static const struct of_device_id leo_match[] = {
 MODULE_DEVICE_TABLE(of, leo_match);
 
 static struct of_platform_driver leo_driver = {
-       .name           = "leo",
-       .match_table    = leo_match,
+       .driver = {
+               .name = "leo",
+               .owner = THIS_MODULE,
+               .of_match_table = leo_match,
+       },
        .probe          = leo_probe,
        .remove         = __devexit_p(leo_remove),
 };