diff options
author | Aurelian Zanoschi <Aurelian.Zanoschi@freescale.com> | 2013-04-30 07:41:39 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-30 18:55:53 (GMT) |
commit | 664ab1bcedc43f692966229e600862acbb22c95d (patch) | |
tree | bad06be6f58c7c57f5ddc38578d5e6adeb3140ef /drivers/net/ethernet/freescale/dpa/mac-api.c | |
parent | 27354eb21f9db38aa3a76a4b9ee4986cf941be7e (diff) | |
download | linux-fsl-qoriq-664ab1bcedc43f692966229e600862acbb22c95d.tar.xz |
dpa_mac: Add support for get_mac_handle for memac
Added missing get_mac_handle support in setup_memac function.
Signed-off-by: Aurelian Zanoschi <Aurelian.Zanoschi@freescale.com>
Change-Id: I201f4af60c7be0b992b3844563fc0352cbed14c1
Reviewed-on: http://git.am.freescale.net:8181/2273
Reviewed-by: Hamciuc Bogdan-BHAMCIU1 <bogdan.hamciuc@freescale.com>
Reviewed-by: Floarea Anca Jeanina-B12569 <anca.floarea@freescale.com>
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/mac-api.c')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/mac-api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/mac-api.c b/drivers/net/ethernet/freescale/dpa/mac-api.c index 96ac239..700e10e 100644 --- a/drivers/net/ethernet/freescale/dpa/mac-api.c +++ b/drivers/net/ethernet/freescale/dpa/mac-api.c @@ -862,6 +862,7 @@ static void __cold setup_memac(struct mac_device *mac_dev) mac_dev->change_addr = change_addr; mac_dev->set_multi = set_multi; mac_dev->uninit = uninit; + mac_dev->get_mac_handle = get_mac_handle; mac_dev->set_tx_pause = set_tx_pause; mac_dev->set_rx_pause = set_rx_pause; mac_dev->fm_rtc_enable = fm_rtc_enable; |