aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r--drivers/net/gianfar.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index b71bba91064c..c3b292a31328 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -3054,14 +3054,16 @@ MODULE_DEVICE_TABLE(of, gfar_match);
3054 3054
3055/* Structure for a device driver */ 3055/* Structure for a device driver */
3056static struct of_platform_driver gfar_driver = { 3056static struct of_platform_driver gfar_driver = {
3057 .name = "fsl-gianfar", 3057 .driver = {
3058 .match_table = gfar_match, 3058 .name = "fsl-gianfar",
3059 3059 .owner = THIS_MODULE,
3060 .pm = GFAR_PM_OPS,
3061 .of_match_table = gfar_match,
3062 },
3060 .probe = gfar_probe, 3063 .probe = gfar_probe,
3061 .remove = gfar_remove, 3064 .remove = gfar_remove,
3062 .suspend = gfar_legacy_suspend, 3065 .suspend = gfar_legacy_suspend,
3063 .resume = gfar_legacy_resume, 3066 .resume = gfar_legacy_resume,
3064 .driver.pm = GFAR_PM_OPS,
3065}; 3067};
3066 3068
3067static int __init gfar_init(void) 3069static int __init gfar_init(void)