]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MMC: Fix omap compile by replacing dev_name with dma_dev_name
authorTony Lindgren <tony@atomide.com>
Tue, 6 May 2008 23:06:06 +0000 (16:06 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2008 23:26:47 +0000 (16:26 -0700)
commit3efcdd76c4906236f9043c8b34837818177b291d
treea9a92be512b355f426558742827466259b8c0212
parent3643912aaf23100fc2376e943d5d8dd6dca32bb3
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 <paul@pwsan.com> for figuring this one out.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap.c