diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-08-19 09:40:08 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-08-19 09:40:08 +0100 |
commit | d366b6436386875b1310ce8f70e3f9dea4647bac (patch) | |
tree | 85db10adf35d9a936701b36642001152e3a9df4a /include/linux/mmc | |
parent | 099d44e869f1886b5eb02a5145ca97b5e4142e28 (diff) | |
download | kernel_samsung_smdk4412-d366b6436386875b1310ce8f70e3f9dea4647bac.zip kernel_samsung_smdk4412-d366b6436386875b1310ce8f70e3f9dea4647bac.tar.gz kernel_samsung_smdk4412-d366b6436386875b1310ce8f70e3f9dea4647bac.tar.bz2 |
[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.h | 1 |
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 *); |