projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.denx.de/u-boot-net
[oweals/u-boot.git]
/
drivers
/
net
/
natsemi.c
diff --git
a/drivers/net/natsemi.c
b/drivers/net/natsemi.c
index ce12c3b626197a9df31b6154a5f8a3d1907623ae..e09da1d2ae429108973cb61c06d9cb161a7800ca 100644
(file)
--- a/
drivers/net/natsemi.c
+++ b/
drivers/net/natsemi.c
@@
-754,7
+754,8
@@
natsemi_send(struct eth_device *dev, volatile void *packet, int length)
{
u32 i, status = 0;
u32 tx_status = 0;
- vu_long *res = (vu_long *)&tx_status;
+ u32 *tx_ptr = &tx_status;
+ vu_long *res = (vu_long *)tx_ptr;
/* Stop the transmitter */
OUTL(dev, TxOff, ChipCmd);