[media] stb0899_drv: get rid of warning: no previous prototype
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 14:25:28 +0000 (11:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 19:57:12 +0000 (17:57 -0200)
drivers/media/dvb-frontends/stb0899_drv.c:1263:5: warning: no previous prototype for 'stb0899_get_dev_id' [-Wmissing-prototypes]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/stb0899_drv.c

index 79e29de..cc278b3 100644 (file)
@@ -1260,7 +1260,7 @@ static inline void CONVERT32(u32 x, char *str)
        *str    = '\0';
 }
 
-int stb0899_get_dev_id(struct stb0899_state *state)
+static int stb0899_get_dev_id(struct stb0899_state *state)
 {
        u8 chip_id, release;
        u16 id;