mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	[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>
			
			
This commit is contained in:
		
							parent
							
								
									d858b0e787
								
							
						
					
					
						commit
						bda977b731
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -154,8 +154,8 @@ static const struct rtl2832_reg_entry registers[] = { | |||
| }; | ||||
| 
 | ||||
| /* Our regmap is bypassing I2C adapter lock, thus we do it! */ | ||||
| int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, | ||||
| 		       const void *val, size_t val_count) | ||||
| static int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, | ||||
| 			      const void *val, size_t val_count) | ||||
| { | ||||
| 	struct rtl2832_dev *dev = i2c_get_clientdata(client); | ||||
| 	int ret; | ||||
|  | @ -166,8 +166,8 @@ int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, | ||||
| 			unsigned int mask, unsigned int val) | ||||
| static int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, | ||||
| 			       unsigned int mask, unsigned int val) | ||||
| { | ||||
| 	struct rtl2832_dev *dev = i2c_get_clientdata(client); | ||||
| 	int ret; | ||||
|  | @ -178,8 +178,8 @@ int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| int rtl2832_bulk_read(struct i2c_client *client, unsigned int reg, void *val, | ||||
| 		      size_t val_count) | ||||
| static int rtl2832_bulk_read(struct i2c_client *client, unsigned int reg, | ||||
| 			     void *val, size_t val_count) | ||||
| { | ||||
| 	struct rtl2832_dev *dev = i2c_get_clientdata(client); | ||||
| 	int ret; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Mauro Carvalho Chehab
						Mauro Carvalho Chehab