Skip to contentSkip to conversation

drivers/media/video/bttv-driver.c: make 2 functions static

PATCH New Adrian Bunk 1 participant 1 message Apr 19, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/media/video/bttv-driver.c: make 2 functions static

This patch makes two needlessly global functions static.

---

 drivers/media/video/bttv-driver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/video/bttv-driver.c renamed from drivers/media/video/bttv-driver.c.old +3 -3
@@ -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;