aboutsummaryrefslogtreecommitdiff
path: root/hw/net/ne2000-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/ne2000-pci.c')
-rw-r--r--hw/net/ne2000-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/ne2000-pci.c b/hw/net/ne2000-pci.c
index e11d67bf75..9e5d10859a 100644
--- a/hw/net/ne2000-pci.c
+++ b/hw/net/ne2000-pci.c
@@ -92,7 +92,7 @@ static void ne2000_instance_init(Object *obj)
device_add_bootindex_property(obj, &s->c.bootindex,
"bootindex", "/ethernet-phy@0",
- &pci_dev->qdev, NULL);
+ &pci_dev->qdev);
}
static Property ne2000_properties[] = {