diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-04-22 18:07:00 -0400 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-22 18:07:00 -0400 |
commit | 2c47e7f37830cc83e7c77f0d5b7d4ac15105475b (patch) | |
tree | 051be37e98b7f5a1fe590818c1044ea3aac3f42a /drivers/usb/media/pwc/pwc.h | |
parent | 7107627b04b46bce8212e6a6811add5eb8bcb476 (diff) |
[PATCH] USB: drivers/usb/media/pwc/: make code static
This patch makes needlessly global code static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/media/pwc/pwc.h')
-rw-r--r-- | drivers/usb/media/pwc/pwc.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/media/pwc/pwc.h b/drivers/usb/media/pwc/pwc.h index 53b516d29cf5..267869dab185 100644 --- a/drivers/usb/media/pwc/pwc.h +++ b/drivers/usb/media/pwc/pwc.h | |||
@@ -226,9 +226,8 @@ struct pwc_device | |||
226 | extern "C" { | 226 | extern "C" { |
227 | #endif | 227 | #endif |
228 | 228 | ||
229 | /* Global variables */ | 229 | /* Global variable */ |
230 | extern int pwc_trace; | 230 | extern int pwc_trace; |
231 | extern int pwc_preferred_compression; | ||
232 | 231 | ||
233 | /** functions in pwc-if.c */ | 232 | /** functions in pwc-if.c */ |
234 | int pwc_try_video_mode(struct pwc_device *pdev, int width, int height, int new_fps, int new_compression, int new_snapshot); | 233 | int pwc_try_video_mode(struct pwc_device *pdev, int width, int height, int new_fps, int new_compression, int new_snapshot); |
@@ -243,8 +242,6 @@ void pwc_construct(struct pwc_device *pdev); | |||
243 | /** Functions in pwc-ctrl.c */ | 242 | /** Functions in pwc-ctrl.c */ |
244 | /* Request a certain video mode. Returns < 0 if not possible */ | 243 | /* Request a certain video mode. Returns < 0 if not possible */ |
245 | extern int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int frames, int compression, int snapshot); | 244 | extern int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int frames, int compression, int snapshot); |
246 | /* Calculate the number of bytes per image (not frame) */ | ||
247 | extern void pwc_set_image_buffer_size(struct pwc_device *pdev); | ||
248 | 245 | ||
249 | /* Various controls; should be obvious. Value 0..65535, or < 0 on error */ | 246 | /* Various controls; should be obvious. Value 0..65535, or < 0 on error */ |
250 | extern int pwc_get_brightness(struct pwc_device *pdev); | 247 | extern int pwc_get_brightness(struct pwc_device *pdev); |
@@ -256,7 +253,6 @@ extern int pwc_set_gamma(struct pwc_device *pdev, int value); | |||
256 | extern int pwc_get_saturation(struct pwc_device *pdev); | 253 | extern int pwc_get_saturation(struct pwc_device *pdev); |
257 | extern int pwc_set_saturation(struct pwc_device *pdev, int value); | 254 | extern int pwc_set_saturation(struct pwc_device *pdev, int value); |
258 | extern int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value); | 255 | extern int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value); |
259 | extern int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value); | ||
260 | extern int pwc_get_cmos_sensor(struct pwc_device *pdev, int *sensor); | 256 | extern int pwc_get_cmos_sensor(struct pwc_device *pdev, int *sensor); |
261 | 257 | ||
262 | /* Power down or up the camera; not supported by all models */ | 258 | /* Power down or up the camera; not supported by all models */ |