From: Mauro Carvalho Chehab Date: Tue, 23 Sep 2014 20:01:02 +0000 (-0300) Subject: [media] tc90522: declare tc90522_functionality as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=70dc53633760de48b2d244da8a7b477c628eee05;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [media] tc90522: declare tc90522_functionality as static drivers/media/dvb-frontends/tc90522.c:706:5: warning: symbol 'tc90522_functionality' was not declared. Should it be static? drivers/media/dvb-frontends/tc90522.c:706:5: warning: no previous prototype for 'tc90522_functionality' [-Wmissing-prototypes] u32 tc90522_functionality(struct i2c_adapter *adap) ^ Cc: Akihiro Tsukada Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index f4760dd998c3..cdd9808c322c 100644 --- a/drivers/media/dvb-frontends/tc90522.c +++ b/drivers/media/dvb-frontends/tc90522.c @@ -703,7 +703,7 @@ tc90522_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) return (ret == j) ? num : ret; } -u32 tc90522_functionality(struct i2c_adapter *adap) +static u32 tc90522_functionality(struct i2c_adapter *adap) { return I2C_FUNC_I2C; }