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.h | |
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.h')
-rw-r--r-- | drivers/media/video/usbvision/usbvision.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h index 0e7e3d653cac..5ad07f8a9d9b 100644 --- a/drivers/media/video/usbvision/usbvision.h +++ b/drivers/media/video/usbvision/usbvision.h | |||
@@ -489,7 +489,6 @@ struct usb_usbvision { | |||
489 | /* i2c-algo-usb declaration */ | 489 | /* i2c-algo-usb declaration */ |
490 | /* --------------------------------------------------------------- */ | 490 | /* --------------------------------------------------------------- */ |
491 | 491 | ||
492 | int usbvision_i2c_usb_add_bus(struct i2c_adapter *); | ||
493 | int usbvision_i2c_usb_del_bus(struct i2c_adapter *); | 492 | int usbvision_i2c_usb_del_bus(struct i2c_adapter *); |
494 | 493 | ||
495 | static inline void *i2c_get_algo_usb_data (struct i2c_algo_usb_data *dev) | 494 | static inline void *i2c_get_algo_usb_data (struct i2c_algo_usb_data *dev) |
@@ -510,7 +509,6 @@ int usbvision_init_i2c(struct usb_usbvision *usbvision); | |||
510 | void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg); | 509 | void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg); |
511 | 510 | ||
512 | /* defined in usbvision-core.c */ | 511 | /* defined in usbvision-core.c */ |
513 | void *usbvision_rvmalloc(unsigned long size); | ||
514 | void usbvision_rvfree(void *mem, unsigned long size); | 512 | void usbvision_rvfree(void *mem, unsigned long size); |
515 | int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg); | 513 | int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg); |
516 | int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, | 514 | int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, |