summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index da91cf83a..890ed2715 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -62,7 +62,8 @@ MODULE_PARM(card,"1-" __stringify(EM28XX_MAXBOARDS) "i");
#if 0
MODULE_PARM(video_nr,"1-" __stringify(EM28XX_MAXBOARDS) "i");
#endif
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
+#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
static int dummy;
module_param_array(card, int, dummy, 0444);
#if 0
@@ -74,6 +75,7 @@ module_param_array(card, int, NULL, 0444);
module_param_array(video_nr, int, dummy, 0444);
#endif
#endif
+#endif
MODULE_PARM_DESC(card,"card type");
#if 0
MODULE_PARM_DESC(video_nr,"video device numbers");