Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
/dev/port: don't compile file operations without CONFIG_DEVPORT
(cherry picked from commit f0a816f) 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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> [mpe: Cherry picked from the char-misc tree to prevent build errors] Signed-off-by: Michael Ellerman <[email protected]>
- Loading branch information