Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 044f324f authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3415): Msp3400-kthreads.c: make 3 functions static



This patch makes three needlessly global functions static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 793f225b
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -154,7 +154,7 @@ const char *msp_standard_std_name(int std)
	return "unknown";
	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);
	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,
/* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
   nor do they support stereo BTSC. */
   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" };
	static char *strmode[] = { "mono", "stereo", "lang2", "lang1" };
	struct msp_state *state = i2c_get_clientdata(client);
	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);
		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);
	struct msp_state *state = i2c_get_clientdata(client);
	int source;
	int source;
+0 −1
Original line number Original line Diff line number Diff line
@@ -104,7 +104,6 @@ int msp_sleep(struct msp_state *state, int timeout);


/* msp3400-kthreads.c */
/* msp3400-kthreads.c */
const char *msp_standard_std_name(int std);
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_set_audmode(struct i2c_client *client);
void msp_detect_stereo(struct i2c_client *client);
void msp_detect_stereo(struct i2c_client *client);
int msp3400c_thread(void *data);
int msp3400c_thread(void *data);