summaryrefslogtreecommitdiff
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-08-19 12:40:08 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-08-19 12:40:08 +0400
commitd366b6436386875b1310ce8f70e3f9dea4647bac (patch)
tree85db10adf35d9a936701b36642001152e3a9df4a /include/linux/mmc/host.h
parent099d44e869f1886b5eb02a5145ca97b5e4142e28 (diff)
downloadlinux-d366b6436386875b1310ce8f70e3f9dea4647bac.tar.xz
[MMC] Add mmc_hostname() macro
mmc_hostname() returns a pointer to the hostname for the mmc_host. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index f90f674eb3b0..307862308596 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -97,6 +97,7 @@ extern void mmc_free_host(struct mmc_host *);
#define mmc_priv(x) ((void *)((x) + 1))
#define mmc_dev(x) ((x)->dev)
+#define mmc_hostname(x) ((x)->host_name)
extern int mmc_suspend_host(struct mmc_host *, pm_message_t);
extern int mmc_resume_host(struct mmc_host *);