diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-04-22 19:41:48 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 18:42:20 +0200 |
commit | ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch) | |
tree | 496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/w9968cf.c | |
parent | V4L/DVB (7114): tuner-xc2028.c: make a function static (diff) | |
download | linux-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.tar.xz linux-ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c.zip |
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) enum w9968cf_model_id mod_id; struct list_head* ptr; u8 sc = 0; /* number of simultaneous cameras */ - static unsigned short dev_nr = 0; /* we are handling device number n */ + static unsigned short dev_nr; /* 0 - we are handling device number n */ if (le16_to_cpu(udev->descriptor.idVendor) == winbond_id_table[0].idVendor && le16_to_cpu(udev->descriptor.idProduct) == winbond_id_table[0].idProduct) |