diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-06-28 19:07:51 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-07-06 17:05:49 +0200 |
commit | c4d74df726cb3791d9f1661b58067df5608b627e (patch) | |
tree | 3e589e63b8d247a2dc14df6b4ba8a76d47021d39 /hw/ide/internal.h | |
parent | cd8722bb22ed41586ef489b3521173f1a80c9357 (diff) |
ide: Make ide_init_drive() return success
It still always succeeds. The next commits will add failures.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r-- | hw/ide/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index bd5366066c..416554324c 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -556,8 +556,8 @@ uint32_t ide_data_readw(void *opaque, uint32_t addr); void ide_data_writel(void *opaque, uint32_t addr, uint32_t val); uint32_t ide_data_readl(void *opaque, uint32_t addr); -void ide_init_drive(IDEState *s, BlockDriverState *bs, - const char *version, const char *serial); +int ide_init_drive(IDEState *s, BlockDriverState *bs, + const char *version, const char *serial); void ide_init2(IDEBus *bus, qemu_irq irq); void ide_init2_with_non_qdev_drives(IDEBus *bus, DriveInfo *hd0, DriveInfo *hd1, qemu_irq irq); |