Fixes for turris-omnia-mcu
Marek Behún
maintainercover Fixes for turris-omnia-mcu
Hello Arnd,
test robots noticed some bugs with the new turris-omnia-mcu driver while doing randomized compilation tests.
Here come two fixes.
Marek Behún (2):
platform: cznic: turris-omnia-mcu: Depend on OF
platform: cznic: turris-omnia-mcu: Depend on WATCHDOG
drivers/platform/cznic/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.44.2
Marek Behún
maintainerPATCH 1/2 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'
--- drivers/platform/cznic/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/platform/cznic/Kconfig +1 -0
@@ -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
Signature · 1 line
2.44.2
Marek Behún
maintainerPATCH 2/2 platform: cznic: turris-omnia-mcu: Depend on WATCHDOG
In reply to Marek BehúnAdd depend on WATCHDOG, otherwise modpost fails with
ERROR: modpost: "watchdog_init_timeout" [drivers/platform/cznic/turris-omnia-mcu.ko] undefined!
ERROR: modpost: "devm_watchdog_register_device" [drivers/platform/cznic/turris-omnia-mcu.ko] undefined!
--- drivers/platform/cznic/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/platform/cznic/Kconfig +1 -0
@@ -17,6 +17,7 @@ config TURRIS_OMNIA_MCU depends on MACH_ARMADA_38X || COMPILE_TEST depends on I2C depends on OF + depends on WATCHDOG select GPIOLIB select GPIOLIB_IRQCHIP select HW_RANDOM
Signature · 1 line
2.44.2
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 8 lines · On Mon, 8 Jul 2024 13:40:00 +0200 you wrote:
Hello Arnd,
test robots noticed some bugs with the new turris-omnia-mcu driver while doing randomized compilation tests.
Here come two fixes.
[...]
Here is the summary with links:
- [1/2] platform: cznic: turris-omnia-mcu: Depend on OF
https://git.kernel.org/soc/soc/c/5423a01df8c5 - [2/2] platform: cznic: turris-omnia-mcu: Depend on WATCHDOG https://git.kernel.org/soc/soc/c/dc3c836f9b0f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html