projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a165b42
)
[TIGON3]: of_get_property() returns const.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 29 Mar 2007 08:57:57 +0000
(
01:57
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:55:38 +0000
(
01:55
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index 6aef1e95d39ac3b68017c73ef99a4808516a84f3..9d07d2d5dfa6cb70e030568dfb3f5b5a6077df27 100644
(file)
--- 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);