]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: max8907: add missing select REGMAP_IRQ
authorCorentin Labbe <clabbe@baylibre.com>
Wed, 18 Mar 2020 15:26:49 +0000 (15:26 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 19 Mar 2020 16:55:25 +0000 (09:55 -0700)
commite3a4679d3e248376afd235bb532734dec32af49d
treec91dcb7f4d1827294599984d3bc82d1f84aec5eb
parent39cd3ec9f9c50e9ae29f2b76655dd03aaf7d1181
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: 0dda3971ec82f ("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>
drivers/rtc/Kconfig