• Arnd Bergmann's avatar
    ARM: msm: avoid calling debug_ll_addr on !MMU · d967b010
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarDavid Brown <davidb@codeaurora.org>
    Cc: Daniel Walker <dwalker@fifo99.com>
    Cc: Bryan Huntsman <bryanh@codeaurora.org>
    d967b010
io.c 4.56 KB