Skip to content

Commit 5d89291

Browse files
montjoietorvalds
authored andcommitted
rtc: max8907: add missing select REGMAP_IRQ
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: 94c01ab ("rtc: add MAX8907 RTC driver") Cc: stable <[email protected]> Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent dcf23ac commit 5d89291

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/rtc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ config RTC_DRV_MAX6900
327327
config RTC_DRV_MAX8907
328328
tristate "Maxim MAX8907"
329329
depends on MFD_MAX8907 || COMPILE_TEST
330+
select REGMAP_IRQ
330331
help
331332
If you say yes here you will get support for the
332333
RTC of Maxim MAX8907 PMIC.

0 commit comments

Comments
 (0)