aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf_fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mcf_fec.c')
-rw-r--r--hw/mcf_fec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/mcf_fec.c b/hw/mcf_fec.c
index a21810806..0049860da 100644
--- a/hw/mcf_fec.c
+++ b/hw/mcf_fec.c
@@ -5,7 +5,9 @@
*
* This code is licenced under the GPL
*/
-#include "vl.h"
+#include "hw.h"
+#include "net.h"
+#include "mcf.h"
/* For crc32 */
#include <zlib.h>
@@ -249,7 +251,7 @@ static uint32_t mcf_fec_read(void *opaque, target_phys_addr_t addr)
}
}
-void mcf_fec_write(void *opaque, target_phys_addr_t addr, uint32_t value)
+static void mcf_fec_write(void *opaque, target_phys_addr_t addr, uint32_t value)
{
mcf_fec_state *s = (mcf_fec_state *)opaque;
switch (addr & 0x3ff) {