From 10ae528628558aaac1278b88ce0732512cb0d9ec Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 7 Oct 2010 23:22:24 +0200 Subject: [PATCH] compat: rename member in struct mmc_host. Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.37.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/compat-2.6.37.h b/include/linux/compat-2.6.37.h index 3bb922857772..716f528a0bf5 100644 --- a/include/linux/compat-2.6.37.h +++ b/include/linux/compat-2.6.37.h @@ -110,6 +110,9 @@ int genl_unregister_family(struct genl_family *family); #define genl_register_mc_group(_fam, _grp) genl_register_mc_group(&(_fam)->family, _grp) #define genl_unregister_mc_group(_fam, _grp) genl_unregister_mc_group(&(_fam)->family, _grp) +/* rename member in struct mmc_host in include/linux/mmc/host.h */ +#define max_segs max_hw_segs + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)) */ #endif /* LINUX_26_37_COMPAT_H */ -- 2.30.2