aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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 c4668f4b6e5c..852ab6a115fa 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)
154 return "unknown"; 154 return "unknown";
155} 155}
156 156
157void msp_set_source(struct i2c_client *client, u16 src) 157static void msp_set_source(struct i2c_client *client, u16 src)
158{ 158{
159 struct msp_state *state = i2c_get_clientdata(client); 159 struct msp_state *state = i2c_get_clientdata(client);
160 160
@@ -217,7 +217,7 @@ void msp3400c_set_mode(struct i2c_client *client, int mode)
217 217
218/* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP, 218/* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
219 nor do they support stereo BTSC. */ 219 nor do they support stereo BTSC. */
220void msp3400c_set_audmode(struct i2c_client *client) 220static void msp3400c_set_audmode(struct i2c_client *client)
221{ 221{
222 static char *strmode[] = { "mono", "stereo", "lang2", "lang1" }; 222 static char *strmode[] = { "mono", "stereo", "lang2", "lang1" };
223 struct msp_state *state = i2c_get_clientdata(client); 223 struct msp_state *state = i2c_get_clientdata(client);
@@ -944,7 +944,7 @@ static void msp34xxg_detect_stereo(struct i2c_client *client)
944 status, is_stereo, is_bilingual, state->rxsubchans); 944 status, is_stereo, is_bilingual, state->rxsubchans);
945} 945}
946 946
947void msp34xxg_set_audmode(struct i2c_client *client) 947static void msp34xxg_set_audmode(struct i2c_client *client)
948{ 948{
949 struct msp_state *state = i2c_get_clientdata(client); 949 struct msp_state *state = i2c_get_clientdata(client);
950 int source; 950 int source;
diff --git a/drivers/media/video/msp3400.h b/drivers/media/video/msp3400.h
index 418283002130..6fb5c8c994e7 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);
104 104
105/* msp3400-kthreads.c */ 105/* msp3400-kthreads.c */
106const char *msp_standard_std_name(int std); 106const char *msp_standard_std_name(int std);
107void msp_set_source(struct i2c_client *client, u16 src);
108void msp_set_audmode(struct i2c_client *client); 107void msp_set_audmode(struct i2c_client *client);
109void msp_detect_stereo(struct i2c_client *client); 108void msp_detect_stereo(struct i2c_client *client);
110int msp3400c_thread(void *data); 109int msp3400c_thread(void *data);