diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-23 22:01:02 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-23 22:04:01 +0200 |
commit | 70dc53633760de48b2d244da8a7b477c628eee05 (patch) | |
tree | cdcf1cbe10ef5d15eac83e6b3a8b47af41dfb49b /drivers/media/dvb-frontends/tc90522.c | |
parent | [media] pt3: add support for Earthsoft PT3 ISDB-S/T receiver card (diff) | |
download | linux-70dc53633760de48b2d244da8a7b477c628eee05.tar.xz linux-70dc53633760de48b2d244da8a7b477c628eee05.zip |
[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 <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tc90522.c')
-rw-r--r-- | drivers/media/dvb-frontends/tc90522.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |