From: Corentin Labbe Date: Wed, 18 Mar 2020 15:26:49 +0000 (+0000) Subject: rtc: max8907: add missing select REGMAP_IRQ X-Git-Tag: v4.9.218~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4866ed92e47fff38e9438433472a6a2b919991e1;p=platform%2Fkernel%2Flinux-amlogic.git rtc: max8907: add missing select REGMAP_IRQ commit 5d892919fdd0cefd361697472d4e1b174a594991 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: 94c01ab6d7544 ("rtc: add MAX8907 RTC driver") Cc: stable Signed-off-by: Corentin Labbe Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 0723c97..ef850dd 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -304,6 +304,7 @@ config RTC_DRV_MAX6900 config RTC_DRV_MAX8907 tristate "Maxim MAX8907" depends on MFD_MAX8907 + select REGMAP_IRQ help If you say yes here you will get support for the RTC of Maxim MAX8907 PMIC.