From: Joe Hershberger Date: Mon, 21 May 2012 14:45:31 +0000 (+0000) Subject: drivers/net/macb.c: Fix compile warning X-Git-Tag: v2012.07-rc1~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d9a89be3af7c5ce3c124f1ddd5470d1cad7c49a;p=platform%2Fkernel%2Fu-boot.git drivers/net/macb.c: Fix compile warning Fix this: macb.c: In function 'macb_eth_initialize': macb.c:564:15: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- diff --git a/drivers/net/macb.c b/drivers/net/macb.c index c63eea9..4578467 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -197,8 +197,7 @@ int macb_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;