From: Anatolij Gustschin Date: Sun, 20 May 2012 12:22:57 +0000 (+0000) Subject: drivers/net/mpc5xxx_fec.c: Fix build warning X-Git-Tag: v2025.01-rc5-pxa1908~17674^2~129 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=2f2c29ab3a5ea3e3133137d47e4d145cfd96db46;p=u-boot.git drivers/net/mpc5xxx_fec.c: Fix build warning Fix: mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize': mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type Signed-off-by: Anatolij Gustschin Tested-by: Anatolij Gustschin --- diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c index bc8c9222dc..3d180db749 100644 --- a/drivers/net/mpc5xxx_fec.c +++ b/drivers/net/mpc5xxx_fec.c @@ -707,7 +707,7 @@ static void rfifo_print(char *devname, mpc5xxx_fec_priv *fec) /********************************************************************/ -static int mpc5xxx_fec_send(struct eth_device *dev, volatile void *eth_data, +static int mpc5xxx_fec_send(struct eth_device *dev, void *eth_data, int data_length) { /*