aboutsummaryrefslogtreecommitdiff
path: root/hw/net/allwinner-sun8i-emac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/allwinner-sun8i-emac.c')
-rw-r--r--hw/net/allwinner-sun8i-emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/allwinner-sun8i-emac.c b/hw/net/allwinner-sun8i-emac.c
index 3fc5e34640..033eaa85bf 100644
--- a/hw/net/allwinner-sun8i-emac.c
+++ b/hw/net/allwinner-sun8i-emac.c
@@ -395,7 +395,7 @@ static void allwinner_sun8i_emac_flush_desc(FrameDescriptor *desc,
cpu_physical_memory_write(phys_addr, desc, sizeof(*desc));
}
-static int allwinner_sun8i_emac_can_receive(NetClientState *nc)
+static bool allwinner_sun8i_emac_can_receive(NetClientState *nc)
{
AwSun8iEmacState *s = qemu_get_nic_opaque(nc);
FrameDescriptor desc;