Re: [PATCH v8 1/4] i2c: designware: Add Kconfig for designware_i2c_pci.c

Leo Liang
2023-07-26T03:08:35Z

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.chen@starfivetech.com>
> ---
> drivers/i2c/Kconfig | 9 +++++++++
> drivers/i2c/Makefile | 4 +---
> 2 files changed, 10 insertions(+), 3 deletions(-)