summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
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/mmc
parent099d44e869f1886b5eb02a5145ca97b5e4142e28 (diff)
downloadop-kernel-dev-d366b6436386875b1310ce8f70e3f9dea4647bac.zip
op-kernel-dev-d366b6436386875b1310ce8f70e3f9dea4647bac.tar.gz
[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')
-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 f90f674..3078623 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 *);
OpenPOWER on IntegriCloud