diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-11 11:42:36 -0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-06-07 17:18:59 +0300 |
commit | 8ab60a0703d182d61a0c4e3db35cf70ab57d89aa (patch) | |
tree | cab9ae1d1a190b8106e26f4e5140b515818a5993 /hw/ide/ahci.h | |
parent | 8e729e3b521d9fcd87fc2e40b6322e684f58bb2e (diff) |
ahci: Clean up reset functions
Properly register reset functions via the device class.
CC: Alexander Graf <agraf@suse.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r-- | hw/ide/ahci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h index b223d2c05..ec1b6a5f6 100644 --- a/hw/ide/ahci.h +++ b/hw/ide/ahci.h @@ -332,6 +332,6 @@ typedef struct NCQFrame { void ahci_init(AHCIState *s, DeviceState *qdev, int ports); void ahci_uninit(AHCIState *s); -void ahci_reset(void *opaque); +void ahci_reset(AHCIState *s); #endif /* HW_IDE_AHCI_H */ |