diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2023-05-22 12:50:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-31 19:17:29 +0100 |
commit | e7f3dd801ecfa9eeb936133122dcecd433f76c4d (patch) | |
tree | 34afbb41f23c06a09bead09bea825de40ffa3c4b /drivers/isdn | |
parent | 67d91a1e310afa9cbe1bb61169a2d3b8ca40ba67 (diff) | |
download | linux-stable-e7f3dd801ecfa9eeb936133122dcecd433f76c4d.tar.gz linux-stable-e7f3dd801ecfa9eeb936133122dcecd433f76c4d.tar.bz2 linux-stable-e7f3dd801ecfa9eeb936133122dcecd433f76c4d.zip |
firmware: dmi-sysfs: handle HAS_IOPORT=n
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. We thus need to guard sections of code calling them
as alternative access methods.
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/20230522105049.1467313-11-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions