Files
android_kernel_xiaomi_sm8450/drivers/rtc
Maciej W. Rozycki bc51098cdd rtc: cmos: Remove the `use_acpi_alarm' module parameter for !ACPI
Fix a problem with commit 311ee9c151 ("rtc: cmos: allow using ACPI for
RTC alarm instead of HPET") defining `use_acpi_alarm' module parameter
even for non-ACPI platforms, which ignore it.  Wrap the definition into
#ifdef CONFIG_ACPI and use a static inline wrapper function, hardcoded
to return 0 and consequently optimized away for !ACPI, following the
existing pattern with HPET handling functions.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Fixes: 311ee9c151 ("rtc: cmos: allow using ACPI for RTC alarm instead of HPET")
Cc: stable@vger.kernel.org # 4.18+
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-10-04 11:15:57 +02:00
..
2018-09-28 14:21:00 +02:00
2018-09-28 14:20:58 +02:00
2018-05-21 22:34:38 +02:00
2018-09-28 14:36:49 +02:00
2018-05-17 22:23:14 +02:00
2018-03-17 14:20:56 +01:00
2018-05-03 22:08:00 +02:00
2018-09-28 14:21:01 +02:00
2018-05-03 22:08:00 +02:00
2018-05-03 22:08:00 +02:00
2017-09-01 01:10:11 +02:00
2018-09-28 14:21:01 +02:00
2017-09-01 01:10:11 +02:00
2016-05-20 12:33:51 +02:00
2018-09-28 14:21:02 +02:00
2018-05-03 22:08:00 +02:00
2018-05-18 09:38:22 +02:00
2018-03-17 14:20:56 +01:00
2018-05-22 09:47:17 +02:00
2018-05-03 22:08:00 +02:00
2017-08-22 12:05:21 +02:00
2018-06-07 20:11:08 +02:00
2016-05-20 12:33:51 +02:00
2017-09-05 09:55:02 +02:00
2018-05-17 22:43:22 +02:00
2013-04-19 13:51:25 +02:00
2018-05-23 09:26:19 +02:00
2018-05-03 22:08:00 +02:00
2018-05-17 22:37:11 +02:00
2016-05-20 12:33:51 +02:00
2018-05-03 22:08:00 +02:00