diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-29 09:57:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 13:34:16 -0200 |
commit | 4a06b538d6c7c1713d759f79b4fbd1d91d4932ca (patch) | |
tree | 1986e43c8cbb572ce34fff2f9e97fb2056e537b2 /drivers | |
parent | c408a6f673e8fb0b67c81fc9cb29414265c1e6c1 (diff) | |
download | kernel_goldelico_gta04-4a06b538d6c7c1713d759f79b4fbd1d91d4932ca.zip kernel_goldelico_gta04-4a06b538d6c7c1713d759f79b4fbd1d91d4932ca.tar.gz kernel_goldelico_gta04-4a06b538d6c7c1713d759f79b4fbd1d91d4932ca.tar.bz2 |
V4L/DVB (5018): Make usbvision_rvfree() static
usbvision_rvfree() can now become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/usbvision/usbvision.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c index 901f664..42f495c 100644 --- a/drivers/media/video/usbvision/usbvision-core.c +++ b/drivers/media/video/usbvision/usbvision-core.c @@ -138,7 +138,7 @@ static void *usbvision_rvmalloc(unsigned long size) return mem; } -void usbvision_rvfree(void *mem, unsigned long size) +static void usbvision_rvfree(void *mem, unsigned long size) { unsigned long adr; diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h index e2bcaba..a316871 100644 --- a/drivers/media/video/usbvision/usbvision.h +++ b/drivers/media/video/usbvision/usbvision.h @@ -486,7 +486,6 @@ int usbvision_init_i2c(struct usb_usbvision *usbvision); void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg); /* defined in usbvision-core.c */ -void usbvision_rvfree(void *mem, unsigned long size); int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg); int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, unsigned char value); |