Arnd Bergmann 04d3ba70a3 rtc: mt6397: add IRQ domain dependency
The mt6397 RTC driver can be built either when the MFD_MT6397 driver
is enabled (which selects IRQ_DOMAIN), or when compile testing.
The latter however fails without IRQ domains:

drivers/rtc/rtc-mt6397.c: In function 'mtk_rtc_probe':
drivers/rtc/rtc-mt6397.c:326:13: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]
  rtc->irq = irq_create_mapping(mt6397_chip->irq_domain, res->start);

This adds an explicit dependency for the COMPILE_TEST case.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-02-04 23:44:17 +01:00
..
2016-02-04 23:44:17 +01:00
2016-02-04 23:44:15 +01:00
2016-01-11 20:20:01 +01:00
2015-09-05 19:37:18 +02:00
2016-01-11 20:19:58 +01:00
2015-11-10 10:01:21 -08:00
2015-11-10 10:01:21 -08:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2016-02-04 23:44:16 +01:00
2013-04-19 13:51:25 +02:00
2014-09-19 12:39:19 +02:00
2015-09-05 19:37:19 +02:00