diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-05-28 15:21:40 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:23:46 -0400 |
commit | 805b35634b6c349738664619a6d2eb8ece02fe63 (patch) | |
tree | 746f6359dfdec7158a3a83c6f389b328015db8d6 /drivers | |
parent | 2c8a3a33558d3f5aa18b56eada66fbe712ee6bb7 (diff) |
V4L/DVB (5704): Remove worthless references to obsolete MODULE_PARM macro.
Remove the long-dead references to the obsolete MODULE_PARM macro.
Given that the first one of those is actually misspelled as
"MODULE_PARAM", it's clear that they can't have been doing any good.
Acked-by: Thierry Merle <thierry.merle@free.fr>
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index 6b185a9a37e8..8d53c8a2bb2b 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c | |||
@@ -149,35 +149,12 @@ static int vbi_nr = -1; | |||
149 | /* Grab parameters for the device driver */ | 149 | /* Grab parameters for the device driver */ |
150 | 150 | ||
151 | /* Showing parameters under SYSFS */ | 151 | /* Showing parameters under SYSFS */ |
152 | #if defined(module_param) | ||
153 | module_param(isocMode, int, 0444); | 152 | module_param(isocMode, int, 0444); |
154 | module_param(video_debug, int, 0444); | 153 | module_param(video_debug, int, 0444); |
155 | module_param(PowerOnAtOpen, int, 0444); | 154 | module_param(PowerOnAtOpen, int, 0444); |
156 | module_param(video_nr, int, 0444); | 155 | module_param(video_nr, int, 0444); |
157 | module_param(radio_nr, int, 0444); | 156 | module_param(radio_nr, int, 0444); |
158 | module_param(vbi_nr, int, 0444); | 157 | module_param(vbi_nr, int, 0444); |
159 | #else | ||
160 | /* Old Style */ | ||
161 | MODULE_PARAM(isocMode, "i"); | ||
162 | /* Grab the Debug Mode of the device driver */ | ||
163 | MODULE_PARM(video_debug, "i"); | ||
164 | /* Grab the compression to be adaptive */ | ||
165 | MODULE_PARM(adjustCompression, "i"); | ||
166 | /* Grab the device to power on at startup */ | ||
167 | MODULE_PARM(PowerOnAtOpen, "i"); | ||
168 | /* To help people with Black and White output with using s-video input. | ||
169 | Some cables and input device are wired differently. */ | ||
170 | MODULE_PARM(SwitchSVideoInput, "i"); | ||
171 | /* video_nr option allows to specify a certain /dev/videoX device | ||
172 | (like /dev/video0 or /dev/video1 ...) */ | ||
173 | MODULE_PARM(video_nr, "i"); | ||
174 | /* radio_nr option allows to specify a certain /dev/radioX device | ||
175 | (like /dev/radio0 or /dev/radio1 ...) */ | ||
176 | MODULE_PARM(radio_nr, "i"); | ||
177 | /* vbi_nr option allows to specify a certain /dev/vbiX device | ||
178 | (like /dev/vbi0 or /dev/vbi1 ...) */ | ||
179 | MODULE_PARM(vbi_nr, "i"); | ||
180 | #endif | ||
181 | 158 | ||
182 | MODULE_PARM_DESC(isocMode, " Set the default format for ISOC endpoint. Default: 0x60 (Compression On)"); | 159 | MODULE_PARM_DESC(isocMode, " Set the default format for ISOC endpoint. Default: 0x60 (Compression On)"); |
183 | MODULE_PARM_DESC(video_debug, " Set the default Debug Mode of the device driver. Default: 0 (Off)"); | 160 | MODULE_PARM_DESC(video_debug, " Set the default Debug Mode of the device driver. Default: 0 (Off)"); |