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/w9968cf.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/w9968cf.c')
-rw-r--r-- | drivers/media/video/w9968cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c index 2ae1430f5f7d..cce23d24e6fc 100644 --- a/drivers/media/video/w9968cf.c +++ b/drivers/media/video/w9968cf.c | |||
@@ -3481,7 +3481,7 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id) | |||
3481 | enum w9968cf_model_id mod_id; | 3481 | enum w9968cf_model_id mod_id; |
3482 | struct list_head* ptr; | 3482 | struct list_head* ptr; |
3483 | u8 sc = 0; /* number of simultaneous cameras */ | 3483 | u8 sc = 0; /* number of simultaneous cameras */ |
3484 | static unsigned short dev_nr = 0; /* we are handling device number n */ | 3484 | static unsigned short dev_nr; /* 0 - we are handling device number n */ |
3485 | 3485 | ||
3486 | if (le16_to_cpu(udev->descriptor.idVendor) == winbond_id_table[0].idVendor && | 3486 | if (le16_to_cpu(udev->descriptor.idVendor) == winbond_id_table[0].idVendor && |
3487 | le16_to_cpu(udev->descriptor.idProduct) == winbond_id_table[0].idProduct) | 3487 | le16_to_cpu(udev->descriptor.idProduct) == winbond_id_table[0].idProduct) |