of: Remove duplicate fields from of_platform_driver
[deliverable/linux.git] / drivers / macintosh / smu.c
index 888448cf7f1f1fedf4af2212ca242f06f88d04f7..ef1f3330a10e82e901d1613fac6fca29cfa5b26e 100644 (file)
@@ -671,8 +671,11 @@ static const struct of_device_id smu_platform_match[] =
 
 static struct of_platform_driver smu_of_platform_driver =
 {
-       .name           = "smu",
-       .match_table    = smu_platform_match,
+       .driver = {
+               .name = "smu",
+               .owner = THIS_MODULE,
+               .of_match_table = smu_platform_match,
+       },
        .probe          = smu_platform_probe,
 };
 
This page took 0.024481 seconds and 5 git commands to generate.