aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-08-19 09:40:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-08-19 09:40:08 +0100
commitd366b6436386875b1310ce8f70e3f9dea4647bac (patch)
tree85db10adf35d9a936701b36642001152e3a9df4a /include/linux
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 (diff)
downloadlinux-dev-d366b6436386875b1310ce8f70e3f9dea4647bac.tar.xz
linux-dev-d366b6436386875b1310ce8f70e3f9dea4647bac.zip
[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')
-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 *);