diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-08 21:37:46 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-11-08 21:37:46 +0100 |
commit | d1b268630875a7713b5d468a0c03403c5b721c8e (patch) | |
tree | 2ff8ad7879d2ab005820bd5cf88417456daf2d5e /include/linux/mmc/host.h | |
parent | 493890e75d98810a3470b4aae23be628ee5e9667 (diff) | |
download | blackbird-op-linux-d1b268630875a7713b5d468a0c03403c5b721c8e.tar.gz blackbird-op-linux-d1b268630875a7713b5d468a0c03403c5b721c8e.zip |
mmc: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-Off-By: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r-- | include/linux/mmc/host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index bde891f64591..f842f234e44f 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 *); |