diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-12 12:09:58 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:46 +0200 |
commit | 454215a8a5d2c9415ff2cabe68a1fc5f70473d59 (patch) | |
tree | 2e8a4ac7e24f26610ff6728a9bf73c1900237e21 /backport/backport-include/linux/mmc | |
parent | 16b14026eda016fe0a6256d068705f6327a08a0d (diff) |
backports: dissolve compat-2.6.38.h
While at it, fix the SDIO backport because the
max_hw_segs,max_phys_segs -> max_segs change
was really done in 2.6.37, not 2.6.38.
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/host.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backport/backport-include/linux/mmc/host.h b/backport/backport-include/linux/mmc/host.h new file mode 100644 index 00000000..49ca5c21 --- /dev/null +++ b/backport/backport-include/linux/mmc/host.h @@ -0,0 +1,11 @@ +#ifndef __BACKPORT_MMC_HOST_H +#define __BACKPORT_MMC_HOST_H +#include <linux/version.h> +#include_next <linux/mmc/host.h> + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) +/* rename member in struct mmc_host */ +#define max_segs max_hw_segs +#endif + +#endif /* __BACKPORT_MMC_HOST_H */ |