]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
drivers/net/mpc512x_fec.c: Fix build warning
authorAnatolij Gustschin <agust@denx.de>
Mon, 21 May 2012 09:13:52 +0000 (09:13 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:14 +0000 (10:18 -0500)
Fix:
mpc512x_fec.c: In function 'mpc512x_fec_initialize':
mpc512x_fec.c:634: warning: assignment from incompatible pointer type

Tested on mpc5121ads board using tftp and nfs commands.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/mpc512x_fec.c

index 0d5efd56eab13898e5ed0c12461a94e56957aaad..ad57d566be288acf3b8c5ecf2106c10658f54fda 100644 (file)
@@ -452,8 +452,8 @@ static void mpc512x_fec_halt (struct eth_device *dev)
 
 /********************************************************************/
 
-static int mpc512x_fec_send (struct eth_device *dev, volatile void *eth_data,
-               int data_length)
+static int mpc512x_fec_send(struct eth_device *dev, void *eth_data,
+                           int data_length)
 {
        /*
         * This routine transmits one frame.  This routine only accepts