Skip to content

Commit 5423a01

Browse files
elkabloarndb
authored andcommitted
platform: cznic: turris-omnia-mcu: Depend on OF
Add depend on OF, otherwise the compilation fails with error: no member named 'of_gpio_n_cells' in 'struct gpio_chip' error: no member named 'of_xlate' in 'struct gpio_chip' Fixes: dfa556e ("platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Marek Behún <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 97c4264 commit 5423a01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/cznic/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ config TURRIS_OMNIA_MCU
1616
tristate "Turris Omnia MCU driver"
1717
depends on MACH_ARMADA_38X || COMPILE_TEST
1818
depends on I2C
19+
depends on OF
1920
select GPIOLIB
2021
select GPIOLIB_IRQCHIP
2122
select HW_RANDOM

0 commit comments

Comments
 (0)