Skip to content

Commit

Permalink
[media] radio-usb-si4713: make si4713_register_i2c_adapter static
Browse files Browse the repository at this point in the history
This function isn't used nowhere outside the same .c file.
Fixes this warning:

drivers/media/radio/si4713/radio-usb-si4713.c:418:5: warning: no previous prototype for 'si4713_register_i2c_adapter' [-Wmissing-prototypes]
 int si4713_register_i2c_adapter(struct si4713_usb_device *radio)
     ^

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
  • Loading branch information
Mauro Carvalho Chehab committed Jan 13, 2014
1 parent a622cc5 commit 6fcd3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/radio/si4713/radio-usb-si4713.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static struct i2c_adapter si4713_i2c_adapter_template = {
.algo = &si4713_algo,
};

int si4713_register_i2c_adapter(struct si4713_usb_device *radio)
static int si4713_register_i2c_adapter(struct si4713_usb_device *radio)
{
radio->i2c_adapter = si4713_i2c_adapter_template;
/* set up sysfs linkage to our parent device */
Expand Down

0 comments on commit 6fcd3b6

Please sign in to comment.