]> git.sur5r.net Git - u-boot/commitdiff
drivers/net/mpc5xxx_fec.c: Fix build warning
authorAnatolij Gustschin <agust@denx.de>
Sun, 20 May 2012 12:22:57 +0000 (12:22 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:13 +0000 (10:18 -0500)
Fix:
mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Anatolij Gustschin <agust@denx.de>
drivers/net/mpc5xxx_fec.c

index bc8c9222dcf8f9ac9f9d41ba9d16b03279b19cda..3d180db7498b7d0f9bf186035c6f11d4ef6d0437 100644 (file)
@@ -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)
 {
        /*