unicore32: add ioremap_nocache definition
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 18 Aug 2011 07:38:05 +0000 (15:38 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Tue, 10 Jan 2012 02:29:41 +0000 (10:29 +0800)
commita50e4213e71adc7dde0d514aabd8af7275fee39f
tree0ae6d6611a570ea25358416515aa586fdefbdc73
parent62439a2954b9027c9ec481e1d39cd5d63f7c1b17
unicore32: add ioremap_nocache definition

Bugfix for following error messages:
lib/iomap.c: In function 'pci_iomap':
lib/iomap.c:274: error: implicit declaration of function 'ioremap_nocache'
lib/iomap.c:274: warning: return makes pointer from integer without a cast

Also see commit <f1ecc69838a2d7c8a3e1909f637d4083c071777d>
  it will hide the ioremap_nocache function for systems with an MMU

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jonas Bonn <jonas@southpole.se>
arch/unicore32/include/asm/io.h