diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2018-10-02 02:09:05 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-10-04 11:15:57 +0200 |
commit | bc51098cdd9573bfdecfd02fc8ed474419d73ea0 (patch) | |
tree | 97e74f352a8ab4e52a6ec73a157b8b631821d8fa /drivers/vme | |
parent | d197a253855d2d8e507a003880aab35c4e2473db (diff) | |
download | linux-bc51098cdd9573bfdecfd02fc8ed474419d73ea0.tar.bz2 |
rtc: cmos: Remove the `use_acpi_alarm' module parameter for !ACPI
Fix a problem with commit 311ee9c151ad ("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: 311ee9c151ad ("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>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions