12 Sep
2018
12 Sep
'18
2:04 p.m.
On Wed, Sep 12, 2018 at 02:01:05PM +0200, Takashi Iwai wrote:
Mark Brown wrote:
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.
Hmm, the code does include <linux/io.h>, and it includes <asm/io.h>
Yeah, at least not on SH - it is on most architectures.
I don't think arch/sh/include/asm/io.h includes the necessary thing.
I'm just about to submit a patch which makes it the (or at least a) necessary thing. This stuff shouldn't be complicated or inconsistent.