diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-02-20 14:12:35 +0800 |
---|---|---|
committer | Bo Shen <voice.shen@atmel.com> | 2013-02-20 14:12:35 +0800 |
commit | 03624111f16af45dc203357b4446a2ba98cdfcea (patch) | |
tree | 27c1d9952a2dbb1cc5444945e9436b14e6e2be9c | |
parent | 42c809ec50e38e144b04a40fe786d255b254ea16 (diff) |
net: gmac: fix building warning
assignment from incompatible pointer type
Signed-off-by: Bo Shen <voice.shen@atmel.com>
-rw-r--r-- | drivers/net/gmacb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/gmacb.c b/drivers/net/gmacb.c index 418e8b064c1..36a22eec020 100644 --- a/drivers/net/gmacb.c +++ b/drivers/net/gmacb.c @@ -199,8 +199,7 @@ int gmacb_miiphy_write(const char *devname, u8 phy_adr, u8 reg, u16 value) #if defined(CONFIG_CMD_NET) -static int macb_send(struct eth_device *netdev, volatile void *packet, - int length) +static int macb_send(struct eth_device *netdev, void *packet, int length) { struct macb_device *macb = to_macb(netdev); unsigned long paddr, ctrl; |