12 Sep
2018
12 Sep
'18
1:31 p.m.
On Tue, Sep 11, 2018 at 08:59:16AM +0200, Takashi Iwai wrote:
Hrm, the header file inclusion of pci_iomap() looks fairly inconsistent over architectures. SH doesn't include asm/pci_iomap.h from asm/io.h. And x86 includes it from linux/io-mapping.h.
As a quick fix, we can just include <asm/pci_iomap.h> from patch_ca0132.c, I suppose.
Not on x86 we can't, it's not there - asm/io.h seems safest AFAICT, everyone has it and both SH and x86 include the pci_iomap.h.