Skip to content

Commit d96890f

Browse files
Will McVickerkrzk
authored andcommitted
rtc: s3c: remove HAVE_S3C_RTC in favor of direct dependencies
The config HAVE_S3C_RTC is not really needed since we can simply just add the dependencies directly to RTC_DRV_S3C. Also, one less config to keep track of! Signed-off-by: Will McVicker <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 81a51eb commit d96890f

File tree

5 files changed

+2
-12
lines changed

5 files changed

+2
-12
lines changed

arch/arm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,6 @@ config ARCH_S3C24XX
475475
select GPIOLIB
476476
select GENERIC_IRQ_MULTI_HANDLER
477477
select HAVE_S3C2410_I2C if I2C
478-
select HAVE_S3C_RTC if RTC_CLASS
479478
select NEED_MACH_IO_H
480479
select S3C2410_WATCHDOG
481480
select SAMSUNG_ATAGS

arch/arm/mach-exynos/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ menuconfig ARCH_EXYNOS
2121
select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5
2222
select HAVE_ARM_SCU if SMP
2323
select HAVE_S3C2410_I2C if I2C
24-
select HAVE_S3C_RTC if RTC_CLASS
2524
select PINCTRL
2625
select PINCTRL_EXYNOS
2726
select PM_GENERIC_DOMAINS if PM

arch/arm/mach-s5pv210/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ config ARCH_S5PV210
1313
select COMMON_CLK_SAMSUNG
1414
select GPIOLIB
1515
select HAVE_S3C2410_I2C if I2C
16-
select HAVE_S3C_RTC if RTC_CLASS
1716
select PINCTRL
1817
select PINCTRL_EXYNOS
1918
select SOC_SAMSUNG

arch/arm64/Kconfig.platforms

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ config ARCH_EXYNOS
9494
select COMMON_CLK_SAMSUNG
9595
select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
9696
select EXYNOS_PMU
97-
select HAVE_S3C_RTC if RTC_CLASS
9897
select PINCTRL
9998
select PINCTRL_EXYNOS
10099
select PM_GENERIC_DOMAINS if PM

drivers/rtc/Kconfig

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,16 +1404,10 @@ config RTC_DRV_OMAP
14041404
This driver can also be built as a module, if so, module
14051405
will be called rtc-omap.
14061406

1407-
config HAVE_S3C_RTC
1408-
bool
1409-
help
1410-
This will include RTC support for Samsung SoCs. If
1411-
you want to include RTC support for any machine, kindly
1412-
select this in the respective mach-XXXX/Kconfig file.
1413-
14141407
config RTC_DRV_S3C
14151408
tristate "Samsung S3C series SoC RTC"
1416-
depends on ARCH_S3C64XX || HAVE_S3C_RTC || COMPILE_TEST
1409+
depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S3C24XX || ARCH_S5PV210 || \
1410+
COMPILE_TEST
14171411
help
14181412
RTC (Realtime Clock) driver for the clock inbuilt into the
14191413
Samsung S3C24XX series of SoCs. This can provide periodic

0 commit comments

Comments
 (0)