Commit 0a42db47 authored by Corentin Labbe's avatar Corentin Labbe Committed by Kelsey Skunberg

rtc: max8907: add missing select REGMAP_IRQ

BugLink: https://bugs.launchpad.net/bugs/1873852

commit 5d892919 upstream.

I have hit the following build error:

  armv7a-hardfloat-linux-gnueabi-ld: drivers/rtc/rtc-max8907.o: in function `max8907_rtc_probe':
  rtc-max8907.c:(.text+0x400): undefined reference to `regmap_irq_get_virq'

max8907 should select REGMAP_IRQ

Fixes: 94c01ab6 ("rtc: add MAX8907 RTC driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKelsey Skunberg <kelsey.skunberg@canonical.com>
parent fa5a9f36
...@@ -278,6 +278,7 @@ config RTC_DRV_MAX6900 ...@@ -278,6 +278,7 @@ config RTC_DRV_MAX6900
config RTC_DRV_MAX8907 config RTC_DRV_MAX8907
tristate "Maxim MAX8907" tristate "Maxim MAX8907"
depends on MFD_MAX8907 depends on MFD_MAX8907
select REGMAP_IRQ
help help
If you say yes here you will get support for the If you say yes here you will get support for the
RTC of Maxim MAX8907 PMIC. RTC of Maxim MAX8907 PMIC.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment