X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmmc%2Fhost.h;h=f842f234e44f6eea4d64ff4df793e3e4da0a3c11;hb=d1b268630875a7713b5d468a0c03403c5b721c8e;hp=bde891f645913cc2f9a0b5cc4b0447fa8d1f1abe;hpb=724bdd097e4d47b6ad963db5d92258ab5c485e05;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index bde891f6459..f842f234e44 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -176,7 +176,7 @@ static inline void *mmc_priv(struct mmc_host *host) #define mmc_dev(x) ((x)->parent) #define mmc_classdev(x) (&(x)->class_dev) -#define mmc_hostname(x) ((x)->class_dev.bus_id) +#define mmc_hostname(x) (dev_name(&(x)->class_dev)) extern int mmc_suspend_host(struct mmc_host *, pm_message_t); extern int mmc_resume_host(struct mmc_host *);