diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-11 13:51:36 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-27 07:23:25 -0500 |
commit | 0a0ceadebd4551c26110f5daf0b38d9054674c9e (patch) | |
tree | 243f2873dc75e769cddf56d56f4a6721729c16c7 /drivers/media/video/usbvision/usbvision-i2c.c | |
parent | bee8a44ecb37c1d80afd2af932f60e786f0eabc2 (diff) |
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.c | 5 |
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 = { | |||
213 | /* | 213 | /* |
214 | * registering functions to load algorithms at runtime | 214 | * registering functions to load algorithms at runtime |
215 | */ | 215 | */ |
216 | int usbvision_i2c_usb_add_bus(struct i2c_adapter *adap) | 216 | static int usbvision_i2c_usb_add_bus(struct i2c_adapter *adap) |
217 | { | 217 | { |
218 | PDEBUG(DBG_I2C, "I2C debugging is enabled [i2c]"); | 218 | PDEBUG(DBG_I2C, "I2C debugging is enabled [i2c]"); |
219 | PDEBUG(DBG_ALGO, "ALGO debugging is enabled [i2c]"); | 219 | PDEBUG(DBG_ALGO, "ALGO debugging is enabled [i2c]"); |
@@ -559,9 +559,6 @@ static struct i2c_client i2c_client_template = { | |||
559 | .name = "usbvision internal", | 559 | .name = "usbvision internal", |
560 | }; | 560 | }; |
561 | 561 | ||
562 | EXPORT_SYMBOL(usbvision_i2c_usb_add_bus); | ||
563 | EXPORT_SYMBOL(usbvision_i2c_usb_del_bus); | ||
564 | |||
565 | /* | 562 | /* |
566 | * Overrides for Emacs so that we follow Linus's tabbing style. | 563 | * Overrides for Emacs so that we follow Linus's tabbing style. |
567 | * --------------------------------------------------------------------------- | 564 | * --------------------------------------------------------------------------- |