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:
8d094e5
)
arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning
author
Joe Hershberger
<
[email protected]
>
Tue, 22 May 2012 18:09:55 +0000
(18:09 +0000)
committer
Joe Hershberger
<
[email protected]
>
Wed, 23 May 2012 04:17:52 +0000
(23:17 -0500)
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 <
[email protected]
>
arch/powerpc/cpu/mpc8260/ether_scc.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc8260/ether_scc.c
b/arch/powerpc/cpu/mpc8260/ether_scc.c
index 1c040f0f5b09958233ab51611ba13ebd5c5dee02..3c71219575d1c7d75a2e03a54f3f72108ee97e62 100644
(file)
--- 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, vo
latile vo
id *packet, int length)
+static int sec_send(struct eth_device *dev, void *packet, int length)
{
int i;
int result = 0;