rtc: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 22 May 2023 10:50:35 +0000 (12:50 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 6 Jun 2023 21:33:25 +0000 (23:33 +0200)
commit8bb12adb214b2d7cdad84f89db2cbab4b2908b61
treeb84d920a46905b5f1cf67ce09fa785f19c090aa3
parent31b0cecb4042d2676fd48f09379a19bc8b16eadd
rtc: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. We thus need to add HAS_IOPORT as dependency for
those drivers using them.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Acked-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/r/20230522105049.1467313-31-schnelle@linux.ibm.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig