James Hogan c93d031231 asm-generic/io.h: check CONFIG_VIRT_TO_BUS
Make asm-generic/io.h check CONFIG_VIRT_TO_BUS before defining
virt_to_bus() and bus_to_virt(), otherwise it's easy to accidentally
have a silently failing incorrect direct mapped definition rather then
no definition at all.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2013-03-02 20:09:14 +00:00
..
2013-01-02 17:36:10 -08:00
2012-12-13 19:20:31 -08:00
2013-01-10 20:06:08 -08:00
2012-12-18 12:26:54 -08:00
2013-01-02 17:36:10 -08:00