aboutsummaryrefslogtreecommitdiff
path: root/hw/net/mv88w8618_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/mv88w8618_eth.c')
-rw-r--r--hw/net/mv88w8618_eth.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/net/mv88w8618_eth.c b/hw/net/mv88w8618_eth.c
index 96c65f4..6f08846 100644
--- a/hw/net/mv88w8618_eth.c
+++ b/hw/net/mv88w8618_eth.c
@@ -12,7 +12,7 @@
#include "hw/irq.h"
#include "hw/net/mv88w8618_eth.h"
#include "migration/vmstate.h"
-#include "sysemu/dma.h"
+#include "system/dma.h"
#include "net/net.h"
#define MP_ETH_SIZE 0x00001000
@@ -371,14 +371,13 @@ static const VMStateDescription mv88w8618_eth_vmsd = {
}
};
-static Property mv88w8618_eth_properties[] = {
+static const Property mv88w8618_eth_properties[] = {
DEFINE_NIC_PROPERTIES(mv88w8618_eth_state, conf),
DEFINE_PROP_LINK("dma-memory", mv88w8618_eth_state, dma_mr,
TYPE_MEMORY_REGION, MemoryRegion *),
- DEFINE_PROP_END_OF_LIST(),
};
-static void mv88w8618_eth_class_init(ObjectClass *klass, void *data)
+static void mv88w8618_eth_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);