Skip to content

Commit

Permalink
[TIGON3]: of_get_property() returns const.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Apr 26, 2007
1 parent a165b42 commit 374d4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 374d4ca

Please sign in to comment.