parisc: hide ioread64 declaration on 32-bit
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 Sep 2022 19:27:19 +0000 (21:27 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 12 Sep 2022 19:27:19 +0000 (21:27 +0200)
commitfdc5bebfb66bf0d261818c2df2b01c2a005791fe
treea6055dd86ec566aa2d3f24eec539008ddc7be773
parent97c318bfbe84efded246e80428054f300042f110
parisc: hide ioread64 declaration on 32-bit

The definition of ioread64 etc is hidden on 32-bit, but the declaration
remained by accident, which led to the generic definition getting left
out:

ERROR: modpost: "ioread64" [drivers/pci/switch/switchtec.ko] undefined!

Hide the declaration and #define under the same #ifdef.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 77bfc8bdb5a1 ("parisc: Remove 64bit access on 32bit machines")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/parisc/include/asm/io.h