platform/chrome: add HAS_IOPORT dependencies
authorNiklas Schnelle <schnelle@linux.ibm.com>
Fri, 5 Apr 2024 13:41:51 +0000 (15:41 +0200)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 24 Apr 2024 08:45:59 +0000 (16:45 +0800)
commitd33d22551d80ed0afbb8d23befa2384c4d963685
tree9ba3d0650485b68de22cac6e3afceaf2477ca63f
parent945c7c6d1753806303c30cb58e50f353cc587b54
platform/chrome: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. 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>
Link: https://lore.kernel.org/r/20240405134151.5560-2-schnelle@linux.ibm.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/Kconfig
drivers/platform/chrome/wilco_ec/Kconfig