diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-29 07:57:26 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:16 -0500 |
commit | 4a06b538d6c7c1713d759f79b4fbd1d91d4932ca (patch) | |
tree | 1986e43c8cbb572ce34fff2f9e97fb2056e537b2 /drivers/media/video/usbvision | |
parent | c408a6f673e8fb0b67c81fc9cb29414265c1e6c1 (diff) |
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/media/video/usbvision')
-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 901f664dc6db..42f495c9f5ff 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) | |||
138 | return mem; | 138 | return mem; |
139 | } | 139 | } |
140 | 140 | ||
141 | void usbvision_rvfree(void *mem, unsigned long size) | 141 | static void usbvision_rvfree(void *mem, unsigned long size) |
142 | { | 142 | { |
143 | unsigned long adr; | 143 | unsigned long adr; |
144 | 144 | ||
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h index e2bcaba93871..a316871b79a0 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); | |||
486 | void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg); | 486 | void call_i2c_clients(struct usb_usbvision *usbvision, unsigned int cmd,void *arg); |
487 | 487 | ||
488 | /* defined in usbvision-core.c */ | 488 | /* defined in usbvision-core.c */ |
489 | void usbvision_rvfree(void *mem, unsigned long size); | ||
490 | int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg); | 489 | int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg); |
491 | int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, | 490 | int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, |
492 | unsigned char value); | 491 | unsigned char value); |