[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220429135108.2781579-3-schnelle@linux.ibm.com>
Date: Fri, 29 Apr 2022 15:50:00 +0200
From: Niklas Schnelle <schnelle@...ux.ibm.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-pci@...r.kernel.org, Arnd Bergmann <arnd@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
linux-acpi@...r.kernel.org (open list:ACPI)
Subject: [RFC v2 02/39] ACPI: add dependency on HAS_IOPORT
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. As ACPI always uses I/O port access we simply depend
on HAS_IOPORT.
Co-developed-by: Arnd Bergmann <arnd@...nel.org>
Signed-off-by: Niklas Schnelle <schnelle@...ux.ibm.com>
---
drivers/acpi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 1e34f846508f..8ad0d168004c 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -5,6 +5,7 @@
config ARCH_SUPPORTS_ACPI
bool
+ depends on HAS_IOPORT
menuconfig ACPI
bool "ACPI (Advanced Configuration and Power Interface) Support"
--
2.32.0
Powered by blists - more mailing lists