[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 27/27] mptsas: change .realize function name
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 27/27] mptsas: change .realize function name |
Date: |
Wed, 14 Sep 2016 10:58:53 +0300 |
From: Cao jin <address@hidden>
All the other devices` .realize function name are xxx_realize, except this one.
cc: Michael S. Tsirkin <address@hidden>
cc: Marcel Apfelbaum <address@hidden>
cc: Paolo Bonzini <address@hidden>
cc: Markus Armbruster <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Cao jin <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
hw/scsi/mptsas.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c
index 0e0a22f..8a3dee1 100644
--- a/hw/scsi/mptsas.c
+++ b/hw/scsi/mptsas.c
@@ -1269,7 +1269,7 @@ static const struct SCSIBusInfo mptsas_scsi_info = {
.load_request = mptsas_load_request,
};
-static void mptsas_scsi_init(PCIDevice *dev, Error **errp)
+static void mptsas_scsi_realize(PCIDevice *dev, Error **errp)
{
DeviceState *d = DEVICE(dev);
MPTSASState *s = MPT_SAS(dev);
@@ -1426,7 +1426,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void
*data)
DeviceClass *dc = DEVICE_CLASS(oc);
PCIDeviceClass *pc = PCI_DEVICE_CLASS(oc);
- pc->realize = mptsas_scsi_init;
+ pc->realize = mptsas_scsi_realize;
pc->exit = mptsas_scsi_uninit;
pc->romfile = 0;
pc->vendor_id = PCI_VENDOR_ID_LSI_LOGIC;
--
2.1.4
- [Qemu-devel] [PULL 02/27] tcg: Remove duplicate header includes, (continued)
- [Qemu-devel] [PULL 02/27] tcg: Remove duplicate header includes, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 09/27] MAINTAINERS: Add some header files to the PC chipset section, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 13/27] ivshmem: Delete duplicate debug message, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 14/27] timer: update comments, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 04/27] MAINTAINERS: Add include/hw/unicore32/ to UniCore32 section, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 06/27] MAINTAINERS: Add include/hw/sh4/ to SH4 section, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 22/27] tricore: remove useless cast, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 18/27] curl: Operate on zero-length file, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 25/27] win32: don't run subprocess tests on Mingw32 platform, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 01/27] Remove remainders of HPPA backend, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 27/27] mptsas: change .realize function name,
Michael Tokarev <=
- [Qemu-devel] [PULL 23/27] fw_cfg: remove useless casts, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 07/27] MAINTAINERS: Add include/sysemu/cpus.h, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 21/27] s390x: remove useless cast, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 10/27] MAINTAINERS: Fix up F: entry bit rot, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 03/27] ui/console: Fix non-working backspace key in monitor of gtk UI, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 26/27] linux-user/qemu.h: change malloc to g_malloc, free to g_free, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 19/27] coccinelle: add a script to remove useless casts, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 05/27] MAINTAINERS: Add include/hw/tricore/ to TriCore section, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 08/27] MAINTAINERS: Fix wildcard for scsi headers, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 16/27] cpus: update comments, Michael Tokarev, 2016/09/14