Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] rtl2832: declare functions as static

drivers/media/dvb-frontends/rtl2832.c:157:5: warning: no previous prototype for ‘rtl2832_bulk_write’ [-Wmissing-prototypes]
int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg,
^
drivers/media/dvb-frontends/rtl2832.c:169:5: warning: no previous prototype for ‘rtl2832_update_bits’ [-Wmissing-prototypes]
int rtl2832_update_bits(struct i2c_client *client, unsigned int reg,
^
drivers/media/dvb-frontends/rtl2832.c:181:5: warning: no previous prototype for ‘rtl2832_bulk_read’ [-Wmissing-prototypes]
int rtl2832_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>

+6 -6
+6 -6
drivers/media/dvb-frontends/rtl2832.c
··· 154 154 }; 155 155 156 156 /* Our regmap is bypassing I2C adapter lock, thus we do it! */ 157 - int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, 158 - const void *val, size_t val_count) 157 + static int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, 158 + const void *val, size_t val_count) 159 159 { 160 160 struct rtl2832_dev *dev = i2c_get_clientdata(client); 161 161 int ret; ··· 166 166 return ret; 167 167 } 168 168 169 - int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, 170 - unsigned int mask, unsigned int val) 169 + static int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, 170 + unsigned int mask, unsigned int val) 171 171 { 172 172 struct rtl2832_dev *dev = i2c_get_clientdata(client); 173 173 int ret; ··· 178 178 return ret; 179 179 } 180 180 181 - int rtl2832_bulk_read(struct i2c_client *client, unsigned int reg, void *val, 182 - size_t val_count) 181 + static int rtl2832_bulk_read(struct i2c_client *client, unsigned int reg, 182 + void *val, size_t val_count) 183 183 { 184 184 struct rtl2832_dev *dev = i2c_get_clientdata(client); 185 185 int ret;