Skip to content

Commit 9c79579

Browse files
jmberg-intelalexandrebelloni
authored andcommitted
rtc: enable RTC framework on ARCH=um
There's no real reason it should be disabled, and at least we can use it for development & testing with the RTC test driver. However, two devices are missing a HAS_IOMEM dependency, so add that to avoid build failures from e.g. allyesconfig. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/20201120211103.6895ac740d11.Ic19a9926e8e4c70c03329e55f9e5b1d45095b904@changeid
1 parent 673536c commit 9c79579

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/rtc/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config RTC_MC146818_LIB
1313
menuconfig RTC_CLASS
1414
bool "Real Time Clock"
1515
default n
16-
depends on !S390 && !UML
16+
depends on !S390
1717
select RTC_LIB
1818
help
1919
Generic RTC class support. If you say yes here, you will
@@ -1019,6 +1019,7 @@ config RTC_DRV_DS1553
10191019

10201020
config RTC_DRV_DS1685_FAMILY
10211021
tristate "Dallas/Maxim DS1685 Family"
1022+
depends on HAS_IOMEM
10221023
help
10231024
If you say yes here you get support for the Dallas/Maxim DS1685
10241025
family of real time chips. This family includes the DS1685/DS1687,
@@ -1152,6 +1153,7 @@ config RTC_DRV_STK17TA8
11521153

11531154
config RTC_DRV_M48T86
11541155
tristate "ST M48T86/Dallas DS12887"
1156+
depends on HAS_IOMEM
11551157
help
11561158
If you say Y here you will get support for the
11571159
ST M48T86 and Dallas DS12887 RTC chips.

0 commit comments

Comments
 (0)