[media] radio-usb-si4713: make si4713_register_i2c_adapter static
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 13:34:37 +0000 (11:34 -0200)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 18:28:08 +0000 (16:28 -0200)
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>
drivers/media/radio/si4713/radio-usb-si4713.c

index d97884494d0489792fc2901998bf11bd124527a5..f1e640d71188384cb69dd73f1156094b975e4e4c 100644 (file)
@@ -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 */