diff options
Diffstat (limited to 'compat/drivers-base-devcoredump.c')
-rw-r--r-- | compat/drivers-base-devcoredump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/drivers-base-devcoredump.c b/compat/drivers-base-devcoredump.c index 0c7b7d3..27be55a 100644 --- a/compat/drivers-base-devcoredump.c +++ b/compat/drivers-base-devcoredump.c @@ -184,7 +184,9 @@ static struct class devcd_class = { #if LINUX_VERSION_IS_GEQ(3,11,0) .dev_groups = devcd_dev_groups, #endif +#if LINUX_VERSION_IS_GEQ(4,10,0) .class_groups = devcd_class_groups, +#endif }; static ssize_t devcd_readv(char *buffer, loff_t offset, size_t count, |