diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-29 01:57:57 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:55:38 -0700 |
commit | 374d4cac6283469f101282ca83ee008368bd8350 (patch) | |
tree | c46a253ba181771cfa18f22674e91da0722ce5fb /drivers/net/tg3.c | |
parent | a165b4205e0097c7544ec3c59522a3b20ec14eb1 (diff) |
[TIGON3]: of_get_property() returns const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 6aef1e95d39a..9d07d2d5dfa6 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -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); |