From 2f2c29ab3a5ea3e3133137d47e4d145cfd96db46 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Sun, 20 May 2012 12:22:57 +0000 Subject: [PATCH] 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 --- drivers/net/mpc5xxx_fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { /* -- 2.25.1