Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 08838657bbc35494276c7ba4ef53f30a9816f8c9 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
|
|
Date: Mon, 8 Jul 2024 13:40:01 +0200
|
|
Subject: [PATCH 09/11] platform: cznic: turris-omnia-mcu: Depend on OF
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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: dfa556e45ae9 ("platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs")
|
|
Reported-by: kernel test robot <lkp@intel.com>
|
|
Closes: https://lore.kernel.org/oe-kbuild-all/202407031646.trNSwajF-lkp@intel.com/
|
|
Signed-off-by: Marek Behún <kabel@kernel.org>
|
|
Link: https://lore.kernel.org/r/20240708114002.4285-2-kabel@kernel.org
|
|
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
|
---
|
|
drivers/platform/cznic/Kconfig | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/platform/cznic/Kconfig
|
|
+++ b/drivers/platform/cznic/Kconfig
|
|
@@ -16,6 +16,7 @@ config TURRIS_OMNIA_MCU
|
|
tristate "Turris Omnia MCU driver"
|
|
depends on MACH_ARMADA_38X || COMPILE_TEST
|
|
depends on I2C
|
|
+ depends on OF
|
|
select GPIOLIB
|
|
select GPIOLIB_IRQCHIP
|
|
select HW_RANDOM
|