linux/drivers/platform
Arnd Bergmann ed46f1f773 platform: cznic: turris-omnia-mcu: fix Kconfig dependencies
The newly added driver causes a Kconfig warning:

WARNING: unmet direct dependencies detected for RTC_CLASS
  Depends on [n]: !S390 [=y]
  Selected by [m]:
  - TURRIS_OMNIA_MCU [=m] && CZNIC_PLATFORMS [=y] && (MACH_ARMADA_38X || COMPILE_TEST [=y]) && I2C [=m] && OF [=y] && WATCHDOG [=y]

The problem here is that it selects entire subsystems, which normal
device drivers should not do. Changes all of these to 'depends on'
instead.

Fixes: dfa556e45a ("platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs")
Fixes: 90e700fd12 ("platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup")
Fixes: ab89fb5fb9 ("platform: cznic: turris-omnia-mcu: Add support for MCU watchdog")
Fixes: 41bb142a40 ("platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-15 08:08:58 +02:00
..
arm64 platform: arm64: Add Acer Aspire 1 embedded controller driver 2024-03-25 15:49:01 +01:00
chrome ACPI updates for 6.10-rc1 2024-05-14 13:31:24 -07:00
cznic platform: cznic: turris-omnia-mcu: fix Kconfig dependencies 2024-07-15 08:08:58 +02:00
goldfish platform: goldfish: move the separate 'default' propery for CONFIG_GOLDFISH 2024-03-07 21:47:48 +00:00
loongarch platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() 2022-10-29 16:29:31 +08:00
mellanox platform/mellanox: mlxreg-hotplug: Remove redundant NULL-check 2024-03-12 12:48:36 +02:00
mips mips: rs870e: stop exporting local functions 2023-12-10 17:21:39 -08:00
olpc platform/olpc: olpc-xo175-ec: Use SPI device ID data to bind device 2023-03-20 14:43:35 +01:00
surface platform/surface: aggregator: Log critical errors during SAM probing 2024-05-14 11:43:39 +02:00
x86 platform/x86/amd/hsmp: Check HSMP support on AMD family of processors 2024-06-03 11:57:28 +02:00
Kconfig platform: cznic: Add preliminary support for Turris Omnia MCU 2024-07-01 15:46:36 +02:00
Makefile platform: cznic: Add preliminary support for Turris Omnia MCU 2024-07-01 15:46:36 +02:00