summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-22 07:56:12 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 13:41:46 -0500
commit412411cb2e6f5694b717d8ff574bcf61bfc476cf (patch)
treefc43be5f4a6fec778ab0a643944900b7bbd7ea2b
parent888fc6158e1dac72dc0c754a5c7f55d95c0ff9c6 (diff)
downloadu-boot-imx-412411cb2e6f5694b717d8ff574bcf61bfc476cf.zip
u-boot-imx-412411cb2e6f5694b717d8ff574bcf61bfc476cf.tar.gz
u-boot-imx-412411cb2e6f5694b717d8ff574bcf61bfc476cf.tar.bz2
arch/powerpc/cpu/mpc85xx/ether_fcc.c: Fix compile warning
Fix this: ether_fcc.c: In function 'fec_initialize': ether_fcc.c:453:15: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r--arch/powerpc/cpu/mpc85xx/ether_fcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/ether_fcc.c b/arch/powerpc/cpu/mpc85xx/ether_fcc.c
index 41c3c84..7d372aa 100644
--- a/arch/powerpc/cpu/mpc85xx/ether_fcc.c
+++ b/arch/powerpc/cpu/mpc85xx/ether_fcc.c
@@ -138,7 +138,7 @@ static RTXBD rtx __attribute__ ((aligned(8)));
#undef ET_DEBUG
-static int fec_send(struct eth_device* dev, volatile void *packet, int length)
+static int fec_send(struct eth_device *dev, void *packet, int length)
{
int i = 0;
int result = 0;