summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-08 10:50:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-08 12:04:28 -0300
commit044f324f6ea5d55391db62fca6a295b2651cb946 (patch)
treef78f08610cbaf93962703f68d332a8a312cb2a48 /drivers/media/video
parent793f225b0d77dd6a53614f5e312a28b754144d86 (diff)
downloadkernel-crypto-044f324f6ea5d55391db62fca6a295b2651cb946.tar.gz
kernel-crypto-044f324f6ea5d55391db62fca6a295b2651cb946.tar.xz
kernel-crypto-044f324f6ea5d55391db62fca6a295b2651cb946.zip
V4L/DVB (3415): Msp3400-kthreads.c: make 3 functions static
This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/msp3400-kthreads.c6
-rw-r--r--drivers/media/video/msp3400.h1
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/msp3400-kthreads.c b/drivers/media/video/msp3400-kthreads.c
index c4668f4b6e5..852ab6a115f 100644
--- a/drivers/media/video/msp3400-kthreads.c
+++ b/drivers/media/video/msp3400-kthreads.c
@@ -154,7 +154,7 @@ const char *msp_standard_std_name(int std)
return "unknown";
}
-void msp_set_source(struct i2c_client *client, u16 src)
+static void msp_set_source(struct i2c_client *client, u16 src)
{
struct msp_state *state = i2c_get_clientdata(client);
@@ -217,7 +217,7 @@ void msp3400c_set_mode(struct i2c_client *client, int mode)
/* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
nor do they support stereo BTSC. */
-void msp3400c_set_audmode(struct i2c_client *client)
+static void msp3400c_set_audmode(struct i2c_client *client)
{
static char *strmode[] = { "mono", "stereo", "lang2", "lang1" };
struct msp_state *state = i2c_get_clientdata(client);
@@ -944,7 +944,7 @@ static void msp34xxg_detect_stereo(struct i2c_client *client)
status, is_stereo, is_bilingual, state->rxsubchans);
}
-void msp34xxg_set_audmode(struct i2c_client *client)
+static void msp34xxg_set_audmode(struct i2c_client *client)
{
struct msp_state *state = i2c_get_clientdata(client);
int source;
diff --git a/drivers/media/video/msp3400.h b/drivers/media/video/msp3400.h
index 41828300213..6fb5c8c994e 100644
--- a/drivers/media/video/msp3400.h
+++ b/drivers/media/video/msp3400.h
@@ -104,7 +104,6 @@ int msp_sleep(struct msp_state *state, int timeout);
/* msp3400-kthreads.c */
const char *msp_standard_std_name(int std);
-void msp_set_source(struct i2c_client *client, u16 src);
void msp_set_audmode(struct i2c_client *client);
void msp_detect_stereo(struct i2c_client *client);
int msp3400c_thread(void *data);