summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-i2c.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-11 19:51:36 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-27 13:23:25 +0100
commit0a0ceadebd4551c26110f5daf0b38d9054674c9e (patch)
tree243f2873dc75e769cddf56d56f4a6721729c16c7 /drivers/media/video/usbvision/usbvision-i2c.c
parentV4L/DVB (4958): Fix namespace conflict between w9968cf.c on MIPS (diff)
downloadlinux-0a0ceadebd4551c26110f5daf0b38d9054674c9e.tar.xz
linux-0a0ceadebd4551c26110f5daf0b38d9054674c9e.zip
V4L/DVB (4959): Usbvision: possible cleanups
This patch contains the following possible cleanups: - make needlessly global functions static - remove the unused EXPORT_SYMBOL's Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-i2c.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/usbvision/usbvision-i2c.c b/drivers/media/video/usbvision/usbvision-i2c.c
index 0f3fba7ea6fe..9540bd048345 100644
--- a/drivers/media/video/usbvision/usbvision-i2c.c
+++ b/drivers/media/video/usbvision/usbvision-i2c.c
@@ -213,7 +213,7 @@ static struct i2c_algorithm i2c_usb_algo = {
/*
* registering functions to load algorithms at runtime
*/
-int usbvision_i2c_usb_add_bus(struct i2c_adapter *adap)
+static int usbvision_i2c_usb_add_bus(struct i2c_adapter *adap)
{
PDEBUG(DBG_I2C, "I2C debugging is enabled [i2c]");
PDEBUG(DBG_ALGO, "ALGO debugging is enabled [i2c]");
@@ -559,9 +559,6 @@ static struct i2c_client i2c_client_template = {
.name = "usbvision internal",
};
-EXPORT_SYMBOL(usbvision_i2c_usb_add_bus);
-EXPORT_SYMBOL(usbvision_i2c_usb_del_bus);
-
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* ---------------------------------------------------------------------------