diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-08-19 04:40:08 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-08-19 04:40:08 -0400 |
commit | d366b6436386875b1310ce8f70e3f9dea4647bac (patch) | |
tree | 85db10adf35d9a936701b36642001152e3a9df4a /include/linux/mmc/host.h | |
parent | 099d44e869f1886b5eb02a5145ca97b5e4142e28 (diff) |
[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.h | 1 |
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 *); | |||
97 | 97 | ||
98 | #define mmc_priv(x) ((void *)((x) + 1)) | 98 | #define mmc_priv(x) ((void *)((x) + 1)) |
99 | #define mmc_dev(x) ((x)->dev) | 99 | #define mmc_dev(x) ((x)->dev) |
100 | #define mmc_hostname(x) ((x)->host_name) | ||
100 | 101 | ||
101 | extern int mmc_suspend_host(struct mmc_host *, pm_message_t); | 102 | extern int mmc_suspend_host(struct mmc_host *, pm_message_t); |
102 | extern int mmc_resume_host(struct mmc_host *); | 103 | extern int mmc_resume_host(struct mmc_host *); |