diff options
Diffstat (limited to 'drivers/net/ibm_newemac/core.c')
| -rw-r--r-- | drivers/net/ibm_newemac/core.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index cda2ba891344..f8c36a5eb4d7 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
| @@ -2996,9 +2996,11 @@ static struct of_device_id emac_match[] = | |||
| 2996 | MODULE_DEVICE_TABLE(of, emac_match); | 2996 | MODULE_DEVICE_TABLE(of, emac_match); |
| 2997 | 2997 | ||
| 2998 | static struct of_platform_driver emac_driver = { | 2998 | static struct of_platform_driver emac_driver = { |
| 2999 | .name = "emac", | 2999 | .driver = { |
| 3000 | .match_table = emac_match, | 3000 | .name = "emac", |
| 3001 | 3001 | .owner = THIS_MODULE, | |
| 3002 | .of_match_table = emac_match, | ||
| 3003 | }, | ||
| 3002 | .probe = emac_probe, | 3004 | .probe = emac_probe, |
| 3003 | .remove = emac_remove, | 3005 | .remove = emac_remove, |
| 3004 | }; | 3006 | }; |
