diff options
Diffstat (limited to 'drivers/net/fsl_pq_mdio.c')
-rw-r--r-- | drivers/net/fsl_pq_mdio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/fsl_pq_mdio.c b/drivers/net/fsl_pq_mdio.c index 72489a213bf7..16508535720a 100644 --- a/drivers/net/fsl_pq_mdio.c +++ b/drivers/net/fsl_pq_mdio.c | |||
@@ -461,10 +461,13 @@ static struct of_device_id fsl_pq_mdio_match[] = { | |||
461 | MODULE_DEVICE_TABLE(of, fsl_pq_mdio_match); | 461 | MODULE_DEVICE_TABLE(of, fsl_pq_mdio_match); |
462 | 462 | ||
463 | static struct of_platform_driver fsl_pq_mdio_driver = { | 463 | static struct of_platform_driver fsl_pq_mdio_driver = { |
464 | .name = "fsl-pq_mdio", | 464 | .driver = { |
465 | .name = "fsl-pq_mdio", | ||
466 | .owner = THIS_MODULE, | ||
467 | .of_match_table = fsl_pq_mdio_match, | ||
468 | }, | ||
465 | .probe = fsl_pq_mdio_probe, | 469 | .probe = fsl_pq_mdio_probe, |
466 | .remove = fsl_pq_mdio_remove, | 470 | .remove = fsl_pq_mdio_remove, |
467 | .match_table = fsl_pq_mdio_match, | ||
468 | }; | 471 | }; |
469 | 472 | ||
470 | int __init fsl_pq_mdio_init(void) | 473 | int __init fsl_pq_mdio_init(void) |