On old kernels, boolean module parameters had to be int.
When we backport, they're bool, and thus cause warnings.
Suppress the warnings by redefining the parameter check,
it's not entirely clear that it'll do the right thing
though?
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
} \
void cleanup_module(void) __attribute__((alias("__exit_compat")));
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
+#undef param_check_bool
+#define param_check_bool(name, p) __param_check(name, p, bool)
+#endif
+
#endif /* __BACKPORT_LINUX_MODULE_H */