diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-13 23:14:36 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-13 23:34:35 +1000 |
commit | 590c369e7ecc00be736be39ae0c62d1b5d563a51 (patch) | |
tree | d5950a32f3c62c211b2c363a7bf31a7d5d18fd45 /arch/nios2/lib/Makefile | |
parent | 6b3edefefa6752df57ad636f26baa1b0a502ddab (diff) |
powerpc: Drop include of linux/io.h from asm/io.h
Currently powerpc's asm/io.h includes linux/io.h, and linux/io.h
includes asm/io.h.
This can cause problems because depending on which is included first the
order of definitions between the two files will change.
The include of linux/io.h was added back in 2008 in commit b41e5fffe8b8
("[POWERPC] devres: Add devm_ioremap_prot()"). It's not entirely clear
it was needed then, but devm_ioremap_prot() has since been removed
entirely as unused, in dedd24a12fe6 ("powerpc: Remove unused
devm_ioremap_prot()").
So it seems to be unnecessary and can potentially cause problems, so
remove the include of linux/io.h from asm/io.h
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/nios2/lib/Makefile')
0 files changed, 0 insertions, 0 deletions