diff options
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt352.c b/linux/drivers/media/dvb/frontends/mt352.c index 153880ed5..58606728b 100644 --- a/linux/drivers/media/dvb/frontends/mt352.c +++ b/linux/drivers/media/dvb/frontends/mt352.c @@ -53,7 +53,12 @@ static int force_card_count = 0; module_param(debug, int, 0644); MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off)."); +#include <linux/version.h> +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)) module_param_array(force_card, int, force_card_count, 0444); +#else +module_param_array(force_card, int, &force_card_count, 0444); +#endif MODULE_PARM_DESC(force_card, "Forces the type of each attached mt352 frontend.\n\t" "If your card is not autodetected, then you must specify its type here.\n\t" "Valid card types are: 0 == AVDVBT771, 1 == TUA6034, 2 == TDTC9251DH01C,\n\t" |