diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-07-19 10:57:55 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-08-07 14:43:54 +0200 |
commit | 74a22fced5a012c57f56d1cf7ea926cc366a2a3a (patch) | |
tree | 008eeb0ba2bb34092627ee8571991d2f86395490 /drivers/platform/chrome/cros_ec.h | |
parent | c7da0d4e33ce262dbed7b9ae4cf013aad0f541f6 (diff) |
platform: cznic: turris-omnia-mcu: Make poweroff and wakeup code optional
Make the system poweroff and RTC wakeup part of the driver optional,
under a boolean config option. Move the dependency to RTC_CLASS to this
new option.
This makes the turris-omnia-mcu driver available for compilation even if
RTC_CLASS is disabled.
Fixes: ed46f1f7731d ("platform: cznic: turris-omnia-mcu: fix Kconfig dependencies")
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240719085756.30598-4-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/platform/chrome/cros_ec.h')
0 files changed, 0 insertions, 0 deletions