diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-18 17:55:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-21 16:08:21 -0700 |
commit | 23860063706f2037008fb423820cdbd0dcd558bb (patch) | |
tree | c63cd7fb92f6752ad1bf84a9fa7bddaa606c5dbb /drivers/net/ethernet/freescale | |
parent | e8048e5595bedb1f4b20597d059d6877a710f12d (diff) | |
download | blackbird-obmc-linux-23860063706f2037008fb423820cdbd0dcd558bb.tar.gz blackbird-obmc-linux-23860063706f2037008fb423820cdbd0dcd558bb.zip |
net: gianfar_ptp: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar_ptp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar_ptp.c b/drivers/net/ethernet/freescale/gianfar_ptp.c index 8e3cd77aa347..664d0c261269 100644 --- a/drivers/net/ethernet/freescale/gianfar_ptp.c +++ b/drivers/net/ethernet/freescale/gianfar_ptp.c @@ -557,6 +557,7 @@ static const struct of_device_id match_table[] = { { .compatible = "fsl,etsec-ptp" }, {}, }; +MODULE_DEVICE_TABLE(of, match_table); static struct platform_driver gianfar_ptp_driver = { .driver = { |