diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2015-09-21 15:56:50 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-21 17:21:46 -0700 |
commit | b6745f6e4e63f23fd5bf46ea2745783be13a0960 (patch) | |
tree | 4555db378617670ae03988fc934aacc7defde94b /drivers/net/ethernet/ti/cpsw.h | |
parent | 607cba1554cbdfd8d9f4a645f235e1dc909ba33f (diff) | |
download | linux-b6745f6e4e63f23fd5bf46ea2745783be13a0960.tar.gz linux-b6745f6e4e63f23fd5bf46ea2745783be13a0960.tar.bz2 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__ */ |