summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-12-29 10:57:26 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-29 10:57:26 -0200
commitcccb1ce4270b85c9c6fb64557d0b662b6a30878c (patch)
treeda51bd10d973297bac47c449cc58e114a227c476 /linux/drivers/media
parent7bc691450b6934b38f04971d56553f5264bb08bd (diff)
downloadmediapointer-dvb-s2-cccb1ce4270b85c9c6fb64557d0b662b6a30878c.tar.gz
mediapointer-dvb-s2-cccb1ce4270b85c9c6fb64557d0b662b6a30878c.tar.bz2
Make usbvision_rvfree() static
From: Adrian Bunk <bunk@stusta.de> 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 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-core.c2
-rw-r--r--linux/drivers/media/video/usbvision/usbvision.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-core.c b/linux/drivers/media/video/usbvision/usbvision-core.c
index 07045f7a3..db466ea0d 100644
--- a/linux/drivers/media/video/usbvision/usbvision-core.c
+++ b/linux/drivers/media/video/usbvision/usbvision-core.c
@@ -146,7 +146,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/linux/drivers/media/video/usbvision/usbvision.h b/linux/drivers/media/video/usbvision/usbvision.h
index 79976c399..04ef1a062 100644
--- a/linux/drivers/media/video/usbvision/usbvision.h
+++ b/linux/drivers/media/video/usbvision/usbvision.h
@@ -511,7 +511,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);