summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wctc4xxp/base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wctc4xxp/base.c b/wctc4xxp/base.c
index df87d43..4e00ec2 100644
--- a/wctc4xxp/base.c
+++ b/wctc4xxp/base.c
@@ -1688,7 +1688,11 @@ static void cleanup(void)
}
module_param(debug, int, S_IRUGO | S_IWUSR);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
module_param_array(mode, charp, &mode_count, S_IRUGO | S_IWUSR);
+#else
+module_param_array(mode, charp, mode_count, S_IRUGO | S_IWUSR);
+#endif
module_param(debug_packets, uint, S_IRUGO | S_IWUSR);
module_param(debug_cmd_packets, uint, S_IRUGO | S_IWUSR);
MODULE_DESCRIPTION("Wildcard TC400P+TC400M Transcoder");