summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-13 11:34:37 -0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-13 16:28:08 -0200
commit6fcd3b619c06544b5d33493d0ab297a5b8e64b68 (patch)
tree88167e25db2205556c8562b5baf17fbd37de49e3
parenta622cc51879f70344c03d4e0de59728e9f5c31b9 (diff)
downloadblackbird-op-linux-6fcd3b619c06544b5d33493d0ab297a5b8e64b68.tar.gz
blackbird-op-linux-6fcd3b619c06544b5d33493d0ab297a5b8e64b68.zip
[media] radio-usb-si4713: make si4713_register_i2c_adapter static
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>
-rw-r--r--drivers/media/radio/si4713/radio-usb-si4713.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c b/drivers/media/radio/si4713/radio-usb-si4713.c
index d97884494d04..f1e640d71188 100644
--- a/drivers/media/radio/si4713/radio-usb-si4713.c
+++ b/drivers/media/radio/si4713/radio-usb-si4713.c
@@ -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 */
OpenPOWER on IntegriCloud