[media] sh_vou: declare static functions as such
drivers/media/platform/sh_vou.c:799:5: warning: no previous prototype for 'sh_vou_g_output' [-Wmissing-prototypes] int sh_vou_g_output(struct file *file, void *fh, unsigned int *i) ^ drivers/media/platform/sh_vou.c:805:5: warning: no previous prototype for 'sh_vou_s_output' [-Wmissing-prototypes] int sh_vou_s_output(struct file *file, void *fh, unsigned int i) ^ Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
bf9c82278c
commit
2a1e91a159
@ -796,13 +796,13 @@ static int sh_vou_enum_output(struct file *file, void *fh,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sh_vou_g_output(struct file *file, void *fh, unsigned int *i)
|
static int sh_vou_g_output(struct file *file, void *fh, unsigned int *i)
|
||||||
{
|
{
|
||||||
*i = 0;
|
*i = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sh_vou_s_output(struct file *file, void *fh, unsigned int i)
|
static int sh_vou_s_output(struct file *file, void *fh, unsigned int i)
|
||||||
{
|
{
|
||||||
return i ? -EINVAL : 0;
|
return i ? -EINVAL : 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user