Patchwork [U-Boot] arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning

login
register
mail settings
Submitter Joe Hershberger
Date May 23, 2012, 4:09 a.m.
Message ID <1337746197-6264-1-git-send-email-joe.hershberger@ni.com>
Download mbox | patch
Permalink /patch/160796/
State Accepted
Commit 7a10692a9cb3710cb8233b111f0fcf47b98e9b60
Delegated to: Joe Hershberger
Headers show

Comments

Joe Hershberger - May 23, 2012, 4:09 a.m.
Fix this:
ether_scc.c: In function 'mpc82xx_scc_enet_initialize':
ether_scc.c:377:14: warning: assignment from incompatible pointer type

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---
 arch/powerpc/cpu/mpc8260/ether_scc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/cpu/mpc8260/ether_scc.c b/arch/powerpc/cpu/mpc8260/ether_scc.c
index 1c040f0..3c71219 100644
--- a/arch/powerpc/cpu/mpc8260/ether_scc.c
+++ b/arch/powerpc/cpu/mpc8260/ether_scc.c
@@ -105,7 +105,7 @@  typedef volatile struct CommonBufferDescriptor {
 static RTXBD *rtx;
 
 
-static int sec_send(struct eth_device *dev, volatile void *packet, int length)
+static int sec_send(struct eth_device *dev, void *packet, int length)
 {
     int i;
     int result = 0;