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: 94c01ab6d7544 ("rtc: add MAX8907 RTC driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Corentin Labbe and committed by Linus Torvalds 5d892919 dcf23ac3

+1
+1
drivers/rtc/Kconfig
··· 327 327 config RTC_DRV_MAX8907 328 328 tristate "Maxim MAX8907" 329 329 depends on MFD_MAX8907 || COMPILE_TEST 330 + select REGMAP_IRQ 330 331 help 331 332 If you say yes here you will get support for the 332 333 RTC of Maxim MAX8907 PMIC.