]> 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:36:47 +0000 (16:36 -0700)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 14 May 2008 19:00:53 +0000 (21:00 +0200)
commitdf48dd028766ce2fc05d1f1d9da9bf89855d5282
tree6699c80ceb6b24ae49fa4a74fb05d8613ec00775
parent28a4acb48586dc21d2d14a75a7aab7be78b7c83b
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>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/omap.c