OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b7595
)
[media] timblogiw: Fix sparse warning
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 19 Feb 2013 11:00:36 +0000
(08:00 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 14 Mar 2013 14:36:34 +0000
(11:36 -0300)
Fixes the below warning:
drivers/media/platform/timblogiw.c:81:31: warning:
symbol 'timblogiw_tvnorms' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/timblogiw.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/timblogiw.c
b/drivers/media/platform/timblogiw.c
index
c3a2a44
..
2d91eeb
100644
(file)
--- a/
drivers/media/platform/timblogiw.c
+++ b/
drivers/media/platform/timblogiw.c
@@
-78,7
+78,7
@@
struct timblogiw_buffer {
struct timblogiw_fh *fh;
};
-const struct timblogiw_tvnorm timblogiw_tvnorms[] = {
+
static
const struct timblogiw_tvnorm timblogiw_tvnorms[] = {
{
.std = V4L2_STD_PAL,
.width = 720,