diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/genl_magic_func.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/genl_magic_func.h b/include/linux/genl_magic_func.h index 023bc346b877..47086030ab31 100644 --- a/include/linux/genl_magic_func.h +++ b/include/linux/genl_magic_func.h | |||
@@ -293,8 +293,7 @@ static int CONCAT_(GENL_MAGIC_FAMILY, _genl_multicast_ ## group)( \ | |||
293 | 293 | ||
294 | int CONCAT_(GENL_MAGIC_FAMILY, _genl_register)(void) | 294 | int CONCAT_(GENL_MAGIC_FAMILY, _genl_register)(void) |
295 | { | 295 | { |
296 | int err = genl_register_family_with_ops(&ZZZ_genl_family, | 296 | int err = genl_register_family_with_ops(&ZZZ_genl_family, ZZZ_genl_ops); |
297 | ZZZ_genl_ops, ARRAY_SIZE(ZZZ_genl_ops)); | ||
298 | if (err) | 297 | if (err) |
299 | return err; | 298 | return err; |
300 | #undef GENL_mc_group | 299 | #undef GENL_mc_group |