]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mmc/host.h
mmc: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6-omap-h63xx.git] / include / linux / mmc / host.h
index bde891f645913cc2f9a0b5cc4b0447fa8d1f1abe..f842f234e44f6eea4d64ff4df793e3e4da0a3c11 100644 (file)
@@ -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 *);