summary refs log tree commit diff stats
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-06-28 19:07:51 +0200
committerKevin Wolf <kwolf@redhat.com>2010-07-06 17:05:49 +0200
commitc4d74df726cb3791d9f1661b58067df5608b627e (patch)
tree3e589e63b8d247a2dc14df6b4ba8a76d47021d39 /hw/ide/internal.h
parentcd8722bb22ed41586ef489b3521173f1a80c9357 (diff)
downloadfocaccia-qemu-c4d74df726cb3791d9f1661b58067df5608b627e.tar.gz
focaccia-qemu-c4d74df726cb3791d9f1661b58067df5608b627e.zip
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.h4
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);