[-mm patch] make pvr2_encoder_prep_config() static

From: Adrian Bunk
Date: Mon Feb 19 2007 - 19:19:10 EST


On Thu, Feb 15, 2007 at 05:14:08AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc6-mm3:
>...
> git-dvb.patch
>...
> git trees.
>...

This patch makes the needlessly global pvr2_encoder_prep_config()
static.

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

---
--- linux-2.6.20-mm1/drivers/media/video/pvrusb2/pvrusb2-encoder.c.old 2007-02-17 17:52:21.000000000 +0100
+++ linux-2.6.20-mm1/drivers/media/video/pvrusb2/pvrusb2-encoder.c 2007-02-17 17:52:30.000000000 +0100
@@ -324,7 +324,7 @@

/* This implements some extra setup for the encoder that seems to be
specific to the PVR USB2 hardware. */
-int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
+static int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
{
int ret = 0;
int encMisc3Arg = 0;
-
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/