summary refs log tree commit diff stats
path: root/hw/usb/ccid.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/ccid.h')
-rw-r--r--hw/usb/ccid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/ccid.h b/hw/usb/ccid.h
index 1f070116d6..6c6c10188d 100644
--- a/hw/usb/ccid.h
+++ b/hw/usb/ccid.h
@@ -34,7 +34,7 @@ typedef struct CCIDCardClass {
                             const uint8_t *apdu,
                             uint32_t len);
     void (*exitfn)(CCIDCardState *card);
-    int (*initfn)(CCIDCardState *card);
+    void (*realize)(CCIDCardState *card, Error **errp);
 } CCIDCardClass;
 
 /*