From: James Hogan Date: Fri, 23 Nov 2012 16:13:05 +0000 (+0000) Subject: asm-generic/io.h: check CONFIG_VIRT_TO_BUS X-Git-Tag: v3.9-rc1~7^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c93d03123169357afde2d9b20dfbf9675295668f;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann --- Reading git-diff-tree failed