diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-04-22 13:41:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 12:42:20 -0400 |
commit | ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch) | |
tree | 496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/usbvision/usbvision-video.c | |
parent | 29bec0bff50d8f8b108ed22e9981eb4635efc566 (diff) |
V4L/DVB (7094): static memory
- Static memory is always initialized with 0.
- Replaced in some cases C99 comments for /* */
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index df52f8a6021..2c2e1063956 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c | |||
@@ -115,7 +115,7 @@ USBVISION_DRIVER_VERSION_PATCHLEVEL) | |||
115 | 115 | ||
116 | 116 | ||
117 | /* sequential number of usbvision device */ | 117 | /* sequential number of usbvision device */ |
118 | static int usbvision_nr = 0; | 118 | static int usbvision_nr; |
119 | 119 | ||
120 | static struct usbvision_v4l2_format_st usbvision_v4l2_format[] = { | 120 | static struct usbvision_v4l2_format_st usbvision_v4l2_format[] = { |
121 | { 1, 1, 8, V4L2_PIX_FMT_GREY , "GREY" }, | 121 | { 1, 1, 8, V4L2_PIX_FMT_GREY , "GREY" }, |
@@ -135,7 +135,7 @@ static void usbvision_release(struct usb_usbvision *usbvision); | |||
135 | /* Set the default format for ISOC endpoint */ | 135 | /* Set the default format for ISOC endpoint */ |
136 | static int isocMode = ISOC_MODE_COMPRESS; | 136 | static int isocMode = ISOC_MODE_COMPRESS; |
137 | /* Set the default Debug Mode of the device driver */ | 137 | /* Set the default Debug Mode of the device driver */ |
138 | static int video_debug = 0; | 138 | static int video_debug; |
139 | /* Set the default device to power on at startup */ | 139 | /* Set the default device to power on at startup */ |
140 | static int PowerOnAtOpen = 1; | 140 | static int PowerOnAtOpen = 1; |
141 | /* Sequential Number of Video Device */ | 141 | /* Sequential Number of Video Device */ |