[media] stkwebcam: Fix sparse warning on undeclared symbol
authorEzequiel Garcia <elezegarcia@gmail.com>
Thu, 1 Nov 2012 11:42:00 +0000 (08:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Nov 2012 17:23:14 +0000 (15:23 -0200)
The sparse warning is:
"drivers/media/usb/stkwebcam/stk-webcam.c:59:5:
warning: symbol 'first_init' was not declared. Should it be static?"
Declare variable 'first_init' as static and local to the function.
Found by Hans Verkuil's daily build. Tested by compilation only.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found