2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00

[TIGON3]: of_get_property() returns const.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2007-03-29 01:57:57 -07:00
parent a165b4205e
commit 374d4cac62

View File

@ -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);