aboutsummaryrefslogtreecommitdiff
path: root/hw/net/ne2000.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-06-25 15:04:35 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:46 +0200
commitdcb117bfda5af6f6ceb7231778d36d8bce4aee93 (patch)
treea0b2941c5b06f8bbdb4412511f6f647899469453 /hw/net/ne2000.h
parent42e038fe918f4eecdd84ef9ee406bba1deb15cec (diff)
ne2000: pass device to ne2000_setup_io, use it as owner
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/net/ne2000.h')
-rw-r--r--hw/net/ne2000.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/ne2000.h b/hw/net/ne2000.h
index b31ae030f9..e500306aac 100644
--- a/hw/net/ne2000.h
+++ b/hw/net/ne2000.h
@@ -31,7 +31,7 @@ typedef struct NE2000State {
uint8_t mem[NE2000_MEM_SIZE];
} NE2000State;
-void ne2000_setup_io(NE2000State *s, unsigned size);
+void ne2000_setup_io(NE2000State *s, DeviceState *dev, unsigned size);
extern const VMStateDescription vmstate_ne2000;
void ne2000_reset(NE2000State *s);
int ne2000_can_receive(NetClientState *nc);