aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fs_enet/fs_enet-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fs_enet/fs_enet-main.c')
-rw-r--r--drivers/net/fs_enet/fs_enet-main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c
index caeb88b67bc..cae2d16858d 100644
--- a/drivers/net/fs_enet/fs_enet-main.c
+++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -1158,8 +1158,11 @@ static struct of_device_id fs_enet_match[] = {
1158MODULE_DEVICE_TABLE(of, fs_enet_match); 1158MODULE_DEVICE_TABLE(of, fs_enet_match);
1159 1159
1160static struct of_platform_driver fs_enet_driver = { 1160static struct of_platform_driver fs_enet_driver = {
1161 .name = "fs_enet", 1161 .driver = {
1162 .match_table = fs_enet_match, 1162 .owner = THIS_MODULE,
1163 .name = "fs_enet",
1164 .of_match_table = fs_enet_match,
1165 },
1163 .probe = fs_enet_probe, 1166 .probe = fs_enet_probe,
1164 .remove = fs_enet_remove, 1167 .remove = fs_enet_remove,
1165}; 1168};