[2.6 patch] drivers/media/video/bttv-driver.c: make 2 functions static

From: Adrian Bunk
Date: Mon Apr 18 2005 - 19:42:37 EST


This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

drivers/media/video/bttv-driver.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.12-rc2-mm3-full/drivers/media/video/bttv-driver.c.old 2005-04-19 01:32:53.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/media/video/bttv-driver.c 2005-04-19 01:33:31.000000000 +0200
@@ -3169,7 +3169,7 @@
/* ----------------------------------------------------------------------- */
/* some debug code */

-int bttv_risc_decode(u32 risc)
+static int bttv_risc_decode(u32 risc)
{
static char *instr[16] = {
[ BT848_RISC_WRITE >> 28 ] = "write",
@@ -3206,8 +3206,8 @@
return incr[risc >> 28] ? incr[risc >> 28] : 1;
}

-void bttv_risc_disasm(struct bttv *btv,
- struct btcx_riscmem *risc)
+static void bttv_risc_disasm(struct bttv *btv,
+ struct btcx_riscmem *risc)
{
unsigned int i,j,n;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/