arch/sh/include/asm/io.h: provide prototypes for PCI I/O mapping in asm/io.h
authorMark Brown <[email protected]>
Fri, 14 Dec 2018 22:17:00 +0000 (14:17 -0800)
committerLinus Torvalds <[email protected]>
Fri, 14 Dec 2018 23:05:45 +0000 (15:05 -0800)
commit915c9e1b6d008fdaebca91b83fa0d2596121d588
treed77113144def2dd3d8ae45c95419cc944ad4df8f
parent9def36e0fa9a0d9c5393c039db59f1f2d3a388b3
arch/sh/include/asm/io.h: provide prototypes for PCI I/O mapping in asm/io.h

Most architectures provide prototypes for the PCI I/O mapping operations
when asm/io.h is included but SH doesn't currently do that, leading to
for example warnings in sound/pci/hda/patch_ca0132.c when pci_iomap() is
used on current -next.  Make SH more consistent with other architectures
by including asm-generic/pci_iomap.h in asm/io.h.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/sh/include/asm/io.h