of: Remove duplicate fields from of_platform_driver
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / serial / sunzilog.c
index 20f9be8cd9496dc644a11261b9440def83781438..34fb8e84504f74dbdb836090c620a4a525fe89b1 100644 (file)
@@ -1491,8 +1491,11 @@ static const struct of_device_id zs_match[] = {
 MODULE_DEVICE_TABLE(of, zs_match);
 
 static struct of_platform_driver zs_driver = {
-       .name           = "zs",
-       .match_table    = zs_match,
+       .driver = {
+               .name = "zs",
+               .owner = THIS_MODULE,
+               .of_match_table = zs_match,
+       },
        .probe          = zs_probe,
        .remove         = __devexit_p(zs_remove),
 };