of: Remove duplicate fields from of_platform_driver
[linux-2.6-block.git] / drivers / serial / sunsu.c
index a647b24480718c87064cac94a29737e0b6b31368..234459c2f0122fc24e78f5b173f3fe4a3f83555d 100644 (file)
@@ -1539,8 +1539,11 @@ static const struct of_device_id su_match[] = {
 MODULE_DEVICE_TABLE(of, su_match);
 
 static struct of_platform_driver su_driver = {
-       .name           = "su",
-       .match_table    = su_match,
+       .driver = {
+               .name = "su",
+               .owner = THIS_MODULE,
+               .of_match_table = su_match,
+       },
        .probe          = su_probe,
        .remove         = __devexit_p(su_remove),
 };