diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2020-03-18 15:26:49 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-02 16:34:19 +0200 |
commit | 7d2c3a9ce8d50cd3d92ab08e060c80f321cd880c (patch) | |
tree | d65153e035d31a76ece21aadbb23f6ff0fb676bb | |
parent | 3c6157d6e209957bf6d04ada956a1d8ed34903c1 (diff) | |
download | linux-stable-7d2c3a9ce8d50cd3d92ab08e060c80f321cd880c.tar.gz linux-stable-7d2c3a9ce8d50cd3d92ab08e060c80f321cd880c.tar.bz2 linux-stable-7d2c3a9ce8d50cd3d92ab08e060c80f321cd880c.zip |
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 <stable@vger.kernel.org>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/rtc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index e0e58f3b1420..68b76e6ddc1e 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -323,6 +323,7 @@ config RTC_DRV_MAX6900 config RTC_DRV_MAX8907 tristate "Maxim MAX8907" depends on MFD_MAX8907 || COMPILE_TEST + select REGMAP_IRQ help If you say yes here you will get support for the RTC of Maxim MAX8907 PMIC. |