Skip to contentSkip to conversation

drivers/media/video/msp3400-kthreads.c: make 3 functions static

RFC PATCH In review Adrian Bunk 2 participants 2 messages Mar 8, 2006 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 drivers/media/video/msp3400-kthreads.c: make 3 functions static

This patch makes three needlessly global functions static.

---

This patch was already sent on:
- 4 Mar 2006

 drivers/media/video/msp3400-kthreads.c |    6 +++---
 drivers/media/video/msp3400.h          |    1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
drivers/media/video/msp3400.h renamed from drivers/media/video/msp3400.h.old +0 -1
@@ -104,7 +104,6 @@
 
 /* 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);
drivers/media/video/msp3400-kthreads.c renamed from drivers/media/video/msp3400-kthreads.c.old +3 -3
@@ -154,7 +154,7 @@
 	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 @@
 
 /* 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 @@
 		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;
#1 lore raw

Adrian,

Em Qua, 2006-03-08 às 10:08 +0100, Adrian Bunk escreveu:

Quoted 1 line

This patch makes three needlessly global functions static.

Thanks. Applied on both Mercurial and git trees.

Cheers,
Mauro.