Greentime Hu b934e8eb48 openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it.
A future commit for the nds32 architecture bootstrap("asm-generic/io.h: move
ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU")
will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that
in order to suppress re-definition errors we need to setup #define's before
importing asm-generic/io.h.

Also, the change adds a prototype for ioremap where size is size_t so fix that
as well.

Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Stafford Horne <shorne@gmail.com>
2018-02-22 10:44:30 +08:00
..
2017-02-25 04:12:38 +09:00
2011-07-22 18:46:39 +02:00
2017-02-25 04:12:38 +09:00
2017-11-03 14:01:13 +09:00
2011-07-22 18:46:39 +02:00
2017-11-15 18:21:04 -08:00
2013-02-26 02:46:08 -05:00
2014-09-03 13:11:02 +00:00
2011-07-22 18:46:33 +02:00
2011-07-22 18:46:39 +02:00
2017-11-03 14:01:13 +09:00
2017-11-03 14:01:13 +09:00
2017-11-03 14:01:13 +09:00
2017-11-03 14:01:13 +09:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:32 +02:00
2017-11-03 14:01:13 +09:00
2017-05-15 23:40:22 -04:00
2011-07-22 18:46:39 +02:00