fix(drivers): Avoid build failures for GPIO driver

* Avoid defining the ZMK GPIO drivers lib if none of the drivers  are
  selected.
This commit is contained in:
Peter Johanson
2022-06-05 05:56:45 +00:00
committed by Pete Johanson
parent 505c481f6a
commit b5e73204e8
4 changed files with 6 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ menuconfig GPIO_MCP23017
bool "MCP23017 I2C-based GPIO chip"
depends on I2C
select HAS_DTS_GPIO
select ZMK_DRIVERS_GPIO
help
Enable driver for MCP23017 I2C-based GPIO chip.