diff options
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 */ |