summaryrefslogtreecommitdiff
path: root/board/esd/cpci750/mv_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/cpci750/mv_eth.c')
-rw-r--r--board/esd/cpci750/mv_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cpci750/mv_eth.c b/board/esd/cpci750/mv_eth.c
index 880528f..be176dc 100644
--- a/board/esd/cpci750/mv_eth.c
+++ b/board/esd/cpci750/mv_eth.c
@@ -284,7 +284,7 @@ void mv6436x_eth_initialize (bd_t * bis)
/* set pointer to memory for stats data structure etc... */
port_private =
calloc (sizeof (*ethernet_private), 1);
- ethernet_private->port_private = (void *)port_private;
+ ethernet_private->port_private = (void *)port_private;
if (!port_private) {
printf ("%s: %s allocation failure, %s\n",
__FUNCTION__, dev->name,