From: Tony Lindgren Date: Tue, 6 May 2008 23:36:47 +0000 (-0700) Subject: mmc: Fix omap compile by replacing dev_name with dma_dev_name X-Git-Tag: v2.6.26-rc4~112^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df48dd028766ce2fc05d1f1d9da9bf89855d5282;p=pandora-kernel.git mmc: Fix omap compile by replacing dev_name with dma_dev_name 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 06916639e2fed9ee475efef2747a1b7429f8fe76 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 for figuring this one out. Cc: Paul Walmsley Signed-off-by: Tony Lindgren Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed