/* ks8695_set_mac - Update MAC in net dev and HW @ndev: The network device to update @addr: The new MAC address to set  */
static int ks8695_set_mac(struct net_device *ndev, void *addr)
/* ks8695_set_mac - Update MAC in net dev and HW @ndev: The network device to update @addr: The new MAC address to set  */
static int ks8695_set_mac(struct net_device *ndev, void *addr)
{
	struct ks8695_priv *ksp = netdev_priv(ndev);
	struct sockaddr *address = addr;
	if (!is_valid_ether_addr(address->sa_data))
		return -EADDRNOTAVAIL;
	memcpy(ndev->dev_addr, address->sa_data, ndev->addr_len);
	ks8695_update_mac(ksp);
	dev_dbg(ksp->dev, "%s: Updated MAC address to %pM\n",
		ndev->name, ndev->dev_addr);
	return 0;
}