From: Arnd Bergmann Date: Sun, 16 Mar 2014 19:57:29 +0000 (+0100) Subject: ARM: msm: avoid calling debug_ll_addr on !MMU X-Git-Tag: v3.15-rc1~81^2~8^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d967b0100f8d99480487bce8ead1e0c3affdc511;p=pandora-kernel.git ARM: msm: avoid calling debug_ll_addr on !MMU MSM7X00A has an open-coded version of debug_ll_io_init so it can use MT_DEVICE_NONSHARED as required by the platform. However, this fails to build on no-MMU kernels because the debug_ll_addr function is not available. Since the iotable_init function doesn't actually do anyting in this configuration, we can simply get away by enclosing the broken function call in an #ifdef, which seems to be the least ugly workaround. Signed-off-by: Arnd Bergmann Acked-by: David Brown Cc: Daniel Walker Cc: Bryan Huntsman --- Reading git-diff-tree failed