]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/sparc/dbri.c
of: Remove duplicate fields from of_platform_driver
[net-next-2.6.git] / sound / sparc / dbri.c
index 1b5192eb5ae500a0899c6f5965ef26bbb5c9e79f..1557bf132e732fe172a383f3f64cec7ca4bb27f4 100644 (file)
@@ -2687,8 +2687,11 @@ static const struct of_device_id dbri_match[] = {
 MODULE_DEVICE_TABLE(of, dbri_match);
 
 static struct of_platform_driver dbri_sbus_driver = {
-       .name           = "dbri",
-       .match_table    = dbri_match,
+       .driver = {
+               .name = "dbri",
+               .owner = THIS_MODULE,
+               .of_match_table = dbri_match,
+       },
        .probe          = dbri_probe,
        .remove         = __devexit_p(dbri_remove),
 };