diff options
Diffstat (limited to 'linux/drivers/media/video/tuner-simple.c')
-rw-r--r-- | linux/drivers/media/video/tuner-simple.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index 5fe834ebb..3ce51f193 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-simple.c,v 1.68 2005/12/27 04:30:20 mkrufky Exp $ + * $Id: tuner-simple.c,v 1.69 2006/01/11 21:01:01 hverkuil Exp $ * * i2c tv tuner chip device driver * controls all those simple 4-control-bytes style tuners. @@ -15,7 +15,11 @@ #endif static int offset = 0; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +MODULE_PARM(offset, "i"); +#else module_param(offset, int, 0666); +#endif MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner"); /* ---------------------------------------------------------------------- */ |