projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3573c32
)
arch/powerpc/cpu/mpc8260/ether_fcc.c: Fix compile warning
author
Joe Hershberger
<
[email protected]
>
Tue, 22 May 2012 07:56:11 +0000
(07:56 +0000)
committer
Joe Hershberger
<
[email protected]
>
Tue, 22 May 2012 18:41:46 +0000
(13:41 -0500)
Fix this:
ether_fcc.c: In function 'fec_initialize':
ether_fcc.c:390:15: warning: assignment from incompatible pointer type
Signed-off-by: Joe Hershberger <
[email protected]
>
arch/powerpc/cpu/mpc8260/ether_fcc.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc8260/ether_fcc.c
b/arch/powerpc/cpu/mpc8260/ether_fcc.c
index 879ec0ea2318ad62f76c5c57d1fee8fe638ecee9..eed0a4babe7b79d43154715e41aee53aee15175e 100644
(file)
--- a/
arch/powerpc/cpu/mpc8260/ether_fcc.c
+++ b/
arch/powerpc/cpu/mpc8260/ether_fcc.c
@@
-142,7
+142,7
@@
static RTXBD rtx __attribute__ ((aligned(8)));
#error "rtx must be 64-bit aligned"
#endif
-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;
int result = 0;