2022-09-06 09:17:17

by Kumaravel Thiagarajan

[permalink] [raw]
Subject: [PATCH char-misc-next] misc: microchip: pci1xxxx: Include depends on PCI & select AUXILIARY_BUS in the Kconfig file to resolve build issues.

Some build errors were reported by kernel test robot <[email protected]> on
the char-misc-next branch. This add-on patch will fix the errors.

Fixes: 393fc2f5948fd340d016a9557eea6e1ac2f6c60c
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Kumaravel Thiagarajan <[email protected]>
---
drivers/misc/mchp_pci1xxxx/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/misc/mchp_pci1xxxx/Kconfig b/drivers/misc/mchp_pci1xxxx/Kconfig
index f6a6970d2a59..0fd0aaa218d5 100644
--- a/drivers/misc/mchp_pci1xxxx/Kconfig
+++ b/drivers/misc/mchp_pci1xxxx/Kconfig
@@ -1,7 +1,9 @@
config GP_PCI1XXXX
tristate "Microchip PCI1XXXX PCIe to GPIO Expander + OTP/EEPROM manager"
depends on PCI
+ depends on GPIOLIB
select GPIOLIB_IRQCHIP
+ select AUXILIARY_BUS
help
PCI1XXXX is a PCIe GEN 3 switch with one of the endpoints having
multiple functions and one of the functions is a GPIO controller
--
2.25.1