]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
greth: Fix build after OF device conversions.
authorDavid S. Miller <davem@davemloft.net>
Mon, 31 May 2010 12:47:32 +0000 (05:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 May 2010 12:47:32 +0000 (05:47 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c

index f37a4c143ddddf985556018dc5e21288e23f3207..3a029d02c2b410405dd37c5e6b1b7e8e4ccb63c9 100644 (file)
@@ -1607,14 +1607,13 @@ static struct of_device_id greth_of_match[] = {
 MODULE_DEVICE_TABLE(of, greth_of_match);
 
 static struct of_platform_driver greth_of_driver = {
-       .name = "grlib-greth",
-       .match_table = greth_of_match,
+       .driver = {
+               .name = "grlib-greth",
+               .owner = THIS_MODULE,
+               .of_match_table = greth_of_match,
+       },
        .probe = greth_of_probe,
        .remove = __devexit_p(greth_of_remove),
-       .driver = {
-                  .owner = THIS_MODULE,
-                  .name = "grlib-greth",
-                  },
 };
 
 static int __init greth_init(void)