[media] sh_vou: declare static functions as such
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Jul 2015 12:12:54 +0000 (09:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:26:14 +0000 (08:26 -0300)
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>
drivers/media/platform/sh_vou.c

index e2b2afa0a73daa12cd581cd633fc1dd02508720f..fe5c8ab06bd5c7e9af78a462f12a34df2b57cbf7 100644 (file)
@@ -796,13 +796,13 @@ static int sh_vou_enum_output(struct file *file, void *fh,
        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;
        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;
 }