On Tue, Jul 25, 2023 at 05:46:47PM +0800, Minda Chen wrote: > As the Designware_i2c_pci.c uses ACPI APIs, If some SoCs (StarFive > JH7110) contain Designware i2c and PCI but do not use ACPI, > This file will be can't be compiled. So add a new Kconfig for > designware_i2c_pci.c, which depends on ACPIGEN > > Signed-off-by: Minda Chen <minda.c...@starfivetech.com> > --- > drivers/i2c/Kconfig | 9 +++++++++ > drivers/i2c/Makefile | 4 +--- > 2 files changed, 10 insertions(+), 3 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>