[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/17] hw/ide/Kconfig: Add missing dependency PCI -> IDE_QDEV
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 06/17] hw/ide/Kconfig: Add missing dependency PCI -> IDE_QDEV |
Date: |
Tue, 20 Jul 2021 17:41:30 +0200 |
The pci_ide_create_devs() function is declared i hw/ide/qdev.c:
$ git grep ide_create_drive
hw/ide/pci.c:491: ide_create_drive(d->bus + bus[i], unit[i],
hd_table[i]);
hw/ide/qdev.c:127:IDEDevice *ide_create_drive(IDEBus *bus, int unit, DriveInfo
*drive)
include/hw/ide/internal.h:653:IDEDevice *ide_create_drive(IDEBus *bus, int
unit, DriveInfo *drive);
Fix the correct symbol dependency to avoid build failure when
deselecting some machines:
/usr/bin/ld: libcommon.fa.p/hw_ide_pci.c.o: in function `pci_ide_create_devs':
hw/ide/pci.c:491: undefined reference to `ide_create_drive'
Fixes: 8f01b41e109 ("ide: express dependencies with Kconfig")
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210515173716.358295-3-philmd@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
---
hw/ide/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ide/Kconfig b/hw/ide/Kconfig
index 8e2c8934549..dd85fa3619f 100644
--- a/hw/ide/Kconfig
+++ b/hw/ide/Kconfig
@@ -8,7 +8,7 @@ config IDE_QDEV
config IDE_PCI
bool
depends on PCI
- select IDE_CORE
+ select IDE_QDEV
config IDE_ISA
bool
--
2.31.1
- [PULL 00/17] Kconfig patches for 2021-07-20, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 01/17] hw/mips: Add dependency MIPS_CPS -> MIPS_ITU, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 02/17] hw/mips: Express dependencies of the Boston machine with Kconfig, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 03/17] hw/acpi: Do not restrict ACPI core routines to x86 architecture, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 04/17] hw/acpi/Kconfig: Add missing Kconfig dependencies (build error), Philippe Mathieu-Daudé, 2021/07/20
- [PULL 05/17] hw/i386/Kconfig: Add missing Kconfig dependency (runtime error), Philippe Mathieu-Daudé, 2021/07/20
- [PULL 06/17] hw/ide/Kconfig: Add missing dependency PCI -> IDE_QDEV,
Philippe Mathieu-Daudé <=
- [PULL 07/17] hw/arm/Kconfig: Add missing dependency NPCM7XX -> SMBUS, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 08/17] hw/arm/Kconfig: Remove unused DS1338 symbol from i.MX25 PDK Board, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 09/17] hw/arm/Kconfig: Add missing SDHCI symbol to FSL_IMX25, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 11/17] hw/riscv/Kconfig: Restrict NUMA to Virt & Spike machines, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 12/17] hw/ppc/Kconfig: Add missing dependency E500 -> DS1338 RTC, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 13/17] hw/pci-host/Kconfig: Add missing dependency MV64361 -> I8259, Philippe Mathieu-Daudé, 2021/07/20
- [PULL 14/17] hw/isa/vt82c686: Add missing Kconfig dependencies (build error), Philippe Mathieu-Daudé, 2021/07/20
- [PULL 15/17] hw/isa/vt82c686: Add missing Kconfig dependency (runtime error), Philippe Mathieu-Daudé, 2021/07/20
- [PULL 16/17] hw/ppc/Kconfig: Add dependency PEGASOS2 -> ATI_VGA, Philippe Mathieu-Daudé, 2021/07/20