• Tony Lindgren's avatar
    MMC: Fix omap compile by replacing dev_name with dma_dev_name · 3efcdd76
    Tony Lindgren authored
    This patch fixes error:
    
    drivers/mmc/host/omap.c: In function 'mmc_omap_get_dma_channel':
    drivers/mmc/host/omap.c:1038: error: called object 'dev_name' is not a function
    
    Commit 06916639 adds a function
    called dev_name. This will cause a name conflict as dev_dbg calls
    dev_name(((host->mmc)->parent)).
    
    This same issue should not affect other drivers as they don't seem
    to use dev_name with dev_dbg.
    
    Thanks to Paul Walmsley <paul@pwsan.com> for figuring this one out.
    
    Cc: Paul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    3efcdd76
omap.c 38.7 KB