]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5018): Make usbvision_rvfree() static
authorAdrian Bunk <bunk@stusta.de>
Fri, 29 Dec 2006 12:57:26 +0000 (09:57 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:16 +0000 (13:34 -0200)
usbvision_rvfree() can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvision/usbvision-core.c
drivers/media/video/usbvision/usbvision.h

index 901f664dc6db4eae563b9dbb35a6ab7971dcfa9d..42f495c9f5ff8243bd9677ec923474e278303da5 100644 (file)
@@ -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;
 
index e2bcaba93871d0bab0632999f38ab086a6f1d931..a316871b79a0b459e72b677a8d9c9614dcda229b 100644 (file)
@@ -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);