From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> This was missing. Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> --- backport/backport-include/linux/proc_fs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backport/backport-include/linux/proc_fs.h b/backport/backport-include/linux/proc_fs.h index 5a1bec1..22a7b54 100644 --- a/backport/backport-include/linux/proc_fs.h +++ b/backport/backport-include/linux/proc_fs.h @@ -4,6 +4,7 @@ #include <linux/version.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) +#ifdef CONFIG_PROC_FS /* * backport of: * procfs: new helper - PDE_DATA(inode) @@ -12,6 +13,8 @@ static inline void *PDE_DATA(const struct inode *inode) { return PROC_I(inode)->pde->data; } +#else +static inline void *PDE_DATA(const struct inode *inode) {BUG(); return NULL;} #endif #endif /* __BACKPORT_PROC_FS_H */ -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html