瀏覽代碼

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>
Joe Hershberger 13 年之前
父節點
當前提交
412411cb2e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/powerpc/cpu/mpc85xx/ether_fcc.c

+ 1 - 1
arch/powerpc/cpu/mpc85xx/ether_fcc.c

@@ -138,7 +138,7 @@ static RTXBD rtx __attribute__ ((aligned(8)));
 
 
 #undef ET_DEBUG
 #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 i = 0;
     int result = 0;
     int result = 0;