diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-03 16:32:34 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-03 16:38:29 -0200 |
commit | d858b0e787a8eef66457bcbbd9a758a327102b94 (patch) | |
tree | 519150851c8c2f72a123dbf1855679ad49fa4a83 | |
parent | cecc58962014995db02dbfa9778523177b14fd6e (diff) | |
download | linux-d858b0e787a8eef66457bcbbd9a758a327102b94.tar.gz linux-d858b0e787a8eef66457bcbbd9a758a327102b94.tar.bz2 linux-d858b0e787a8eef66457bcbbd9a758a327102b94.zip |
[media] rtl2830: declare functions as static
drivers/media/dvb-frontends/rtl2830.c:21:5: warning: no previous prototype for ‘rtl2830_bulk_write’ [-Wmissing-prototypes]
int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg,
^
drivers/media/dvb-frontends/rtl2830.c:33:5: warning: no previous prototype for ‘rtl2830_update_bits’ [-Wmissing-prototypes]
int rtl2830_update_bits(struct i2c_client *client, unsigned int reg,
^
drivers/media/dvb-frontends/rtl2830.c:45:5: warning: no previous prototype for ‘rtl2830_bulk_read’ [-Wmissing-prototypes]
int rtl2830_bulk_read(struct i2c_client *client, unsigned int reg, void *val,
^
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/dvb-frontends/rtl2830.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830.c b/drivers/media/dvb-frontends/rtl2830.c index a90f155daadf..e1b8df62bd59 100644 --- a/drivers/media/dvb-frontends/rtl2830.c +++ b/drivers/media/dvb-frontends/rtl2830.c @@ -18,8 +18,8 @@ #include "rtl2830_priv.h" /* Our regmap is bypassing I2C adapter lock, thus we do it! */ -int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg, - const void *val, size_t val_count) +static int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg, + const void *val, size_t val_count) { struct rtl2830_dev *dev = i2c_get_clientdata(client); int ret; @@ -30,8 +30,8 @@ int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg, return ret; } -int rtl2830_update_bits(struct i2c_client *client, unsigned int reg, - unsigned int mask, unsigned int val) +static int rtl2830_update_bits(struct i2c_client *client, unsigned int reg, + unsigned int mask, unsigned int val) { struct rtl2830_dev *dev = i2c_get_clientdata(client); int ret; @@ -42,8 +42,8 @@ int rtl2830_update_bits(struct i2c_client *client, unsigned int reg, return ret; } -int rtl2830_bulk_read(struct i2c_client *client, unsigned int reg, void *val, - size_t val_count) +static int rtl2830_bulk_read(struct i2c_client *client, unsigned int reg, + void *val, size_t val_count) { struct rtl2830_dev *dev = i2c_get_clientdata(client); int ret; |