Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 374d4cac authored by David S. Miller's avatar David S. Miller
Browse files

[TIGON3]: of_get_property() returns const.

parent a165b420
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10993,7 +10993,7 @@ static int __devinit tg3_get_macaddr_sparc(struct tg3 *tp)
	struct net_device *dev = tp->dev;
	struct pci_dev *pdev = tp->pdev;
	struct device_node *dp = pci_device_to_OF_node(pdev);
	unsigned char *addr;
	const unsigned char *addr;
	int len;

	addr = of_get_property(dp, "local-mac-address", &len);