diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2015-09-21 12:26:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-22 02:21:46 +0200 |
commit | b6745f6e4e63f23fd5bf46ea2745783be13a0960 (patch) | |
tree | 4555db378617670ae03988fc934aacc7defde94b /drivers/net/ethernet/ti/cpsw.h | |
parent | Merge tag 'linux-can-next-for-4.4-20150921' of git://git.kernel.org/pub/scm/l... (diff) | |
download | linux-b6745f6e4e63f23fd5bf46ea2745783be13a0960.tar.xz linux-b6745f6e4e63f23fd5bf46ea2745783be13a0960.zip |
drivers: net: cpsw: davinci_emac: move reading mac id to common file
Moving mac address reading from ethernet driver to common
file for better maintenance and for code reusable.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.h')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet/ti/cpsw.h index ca90efafd156..442a7038e660 100644 --- a/drivers/net/ethernet/ti/cpsw.h +++ b/drivers/net/ethernet/ti/cpsw.h @@ -41,7 +41,6 @@ struct cpsw_platform_data { }; void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave); -int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, - u8 *mac_addr); +int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr); #endif /* __CPSW_H__ */ |