asm-generic: ioremap_uc should behave the same with and without MMU
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Aug 2019 05:53:05 +0000 (07:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 11 Nov 2019 20:18:12 +0000 (21:18 +0100)
commite97133959ad2942ae43c81a08858bef01bc0ec18
tree92a321f8e50d9bb8b6ad23a2f6327f6f14060b99
parentab53cea4186162cdc5e1f038dd656d4c983a2647
asm-generic: ioremap_uc should behave the same with and without MMU

Whatever reason there is for the existence of ioremap_uc, and the fact
that it returns NULL by default on architectures with an MMU applies
equally to nommu architectures, so don't provide different defaults.

In practice the difference is meaningless as the only portable driver
that uses ioremap_uc is atyfb which probably doesn't show up on nommu
devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Palmer Dabbelt <palmer@dabbelt.com>
include/asm-generic/io.h