gpio: 74x146: depend on DM_SPI
authorJ. Neuschäfer <j.ne@posteo.net>
Mon, 17 Feb 2025 11:18:03 +0000 (12:18 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Mar 2025 17:59:51 +0000 (11:59 -0600)
commitb6f8da1c2e1a91fbf3059bbd68e3355d76c88b42
tree6b51804bb6cd4b1359e92fade1dcd9041ec92248
parent78f8c8c58f7d3f7c3a26af4afbd08aba21c14c90
gpio: 74x146: depend on DM_SPI

Currently, Kconfig allows building CONFIG_DM_74X164 without
CONFIG_DM_SPI, which results in linker errors because this driver
actually uses dm_spi_* functions:

drivers/gpio/74x164_gpio.o: in function `gen_74x164_write_conf':
  undefined reference to `dm_spi_claim_bus'
  undefined reference to `dm_spi_xfer'
  undefined reference to `dm_spi_release_bus'

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
drivers/gpio/Kconfig