mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
099d44e869
commit
d366b64363
5 changed files with 8 additions and 7 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue