X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Fetherdevice.h;fp=include%2Flinux%2Fetherdevice.h;h=a8bb64cf4079e063d3eaf572d34b8c0e7abbc326;hb=d9eb44904e87c8ad1da0240849dbab638bacb799;hp=bb612c7382e3dbcd4de291e12330d12979f6bc47;hpb=0a14501ed818ff51eed237bbe5009d0d784e4450;p=linux-2.6-microblaze.git diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index bb612c7382e3..a8bb64cf4079 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h @@ -32,6 +32,7 @@ int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr); unsigned char *arch_get_platform_mac_address(void); int nvmem_get_mac_address(struct device *dev, void *addrbuf); int device_get_mac_address(struct device *dev, char *addr); +int device_get_ethdev_address(struct device *dev, struct net_device *netdev); int fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr); u32 eth_get_headlen(const struct net_device *dev, const void *data, u32 len);