summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-22 18:09:55 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 23:17:52 -0500
commit7a10692a9cb3710cb8233b111f0fcf47b98e9b60 (patch)
tree1438befe8b08105c85f06bd6fc432dcb8a4ac227 /arch/powerpc/cpu
parent8d094e5f269fce3b81301c87ce4811da12b7871a (diff)
downloadu-boot-imx-7a10692a9cb3710cb8233b111f0fcf47b98e9b60.zip
u-boot-imx-7a10692a9cb3710cb8233b111f0fcf47b98e9b60.tar.gz
u-boot-imx-7a10692a9cb3710cb8233b111f0fcf47b98e9b60.tar.bz2
arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning
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>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc8260/ether_scc.c2
1 files changed, 1 insertions, 1 deletions
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;