diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-12 13:44:03 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:47 +0200 |
commit | 78b1e9068b4013903c69f1cb3432c08dbd72459e (patch) | |
tree | 7840b0cdfbffc575935740c7bd4c31e994939ede /backport/backport-include/linux/mmc | |
parent | 6b0d9bf36191b5121eec77955739fa97610ed554 (diff) |
backports: dissolve compat-2.6.32.h
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/mmc')
-rw-r--r-- | backport/backport-include/linux/mmc/sdio_func.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/backport-include/linux/mmc/sdio_func.h b/backport/backport-include/linux/mmc/sdio_func.h index 62f89a58..b5960043 100644 --- a/backport/backport-include/linux/mmc/sdio_func.h +++ b/backport/backport-include/linux/mmc/sdio_func.h @@ -27,4 +27,8 @@ extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func); extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags); #endif +#ifndef dev_to_sdio_func +#define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) +#endif + #endif /* __BACKPORT_MMC_SDIO_FUNC_H */ |