aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xilinx_emaclite.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/xilinx_emaclite.c')
-rw-r--r--drivers/net/xilinx_emaclite.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index 3dd2416db540..67f9237237dd 100644
--- a/drivers/net/xilinx_emaclite.c
+++ b/drivers/net/xilinx_emaclite.c
@@ -1293,8 +1293,11 @@ static struct of_device_id xemaclite_of_match[] __devinitdata = {
1293MODULE_DEVICE_TABLE(of, xemaclite_of_match); 1293MODULE_DEVICE_TABLE(of, xemaclite_of_match);
1294 1294
1295static struct of_platform_driver xemaclite_of_driver = { 1295static struct of_platform_driver xemaclite_of_driver = {
1296 .name = DRIVER_NAME, 1296 .driver = {
1297 .match_table = xemaclite_of_match, 1297 .name = DRIVER_NAME,
1298 .owner = THIS_MODULE,
1299 .of_match_table = xemaclite_of_match,
1300 },
1298 .probe = xemaclite_of_probe, 1301 .probe = xemaclite_of_probe,
1299 .remove = __devexit_p(xemaclite_of_remove), 1302 .remove = __devexit_p(xemaclite_of_remove),
1300}; 1303};