diff options
author | 2024-04-04 13:49:17 +0200 | |
---|---|---|
committer | 2024-04-11 15:26:55 +0200 | |
commit | f0a816fb12dadd21326a7c0e54e3253f69d895d5 (patch) | |
tree | a68de960d76e7d1143fc11a77b2f23009b0802e3 /lib/refcount.c | |
parent | parport: mfc3: avoid empty-body warning (diff) | |
download | linux-f0a816fb12dadd21326a7c0e54e3253f69d895d5.tar.gz linux-f0a816fb12dadd21326a7c0e54e3253f69d895d5.tar.bz2 linux-f0a816fb12dadd21326a7c0e54e3253f69d895d5.zip |
/dev/port: don't compile file operations without CONFIG_DEVPORT
In the future inb() and friends will not be available when compiling
with CONFIG_HAS_IOPORT=n so we must only try to access them here if
CONFIG_DEVPORT is set which depends on HAS_IOPORT.
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/20240404114917.3627747-2-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions