diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-04-08 20:54:20 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-04-14 13:08:51 +0300 |
commit | 7ee06cb2f840a96be46233181ed4557901a74385 (patch) | |
tree | 3052730fccc8a45b524c370d5e6d0dec2264722c /drivers/rtc | |
parent | 04767b9fc2315c90a1e4bfdee883c0cbc122f30f (diff) | |
download | linux-7ee06cb2f840a96be46233181ed4557901a74385.tar.xz |
x86: i8259: export legacy_pic symbol
The classic PC rtc-coms driver has a workaround for broken ACPI device
nodes for it which lack an irq resource. This workaround used to
unconditionally hardcode the irq to 8 in these cases.
This was causing irq conflict problems on systems without a legacy-pic
so a recent patch added an if (nr_legacy_irqs()) guard to the
workaround to avoid this irq conflict.
nr_legacy_irqs() uses the legacy_pic symbol under the hood causing
an undefined symbol error if the rtc-cmos code is build as a module.
This commit exports the legacy_pic symbol to fix this.
Cc: rtc-linux@googlegroups.com
Cc: alexandre.belloni@free-electrons.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions