[2.6 patch] drivers/media/video/tvaudio.c: make some variables static

From: Adrian Bunk
Date: Sat Mar 12 2005 - 22:56:20 EST


This patch makes some needlessly global variables static.

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

---

This patch was already sent on:
- 16 Feb 2005

tvaudio.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)

--- linux-2.6.11-rc3-mm2-full/drivers/media/video/tvaudio.c.old 2005-02-15 22:13:38.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/media/video/tvaudio.c 2005-02-15 22:14:29.000000000 +0100
@@ -1237,17 +1237,17 @@
/* audio chip descriptions - struct CHIPDESC */

/* insmod options to enable/disable individual audio chips */
-int tda8425 = 1;
-int tda9840 = 1;
-int tda9850 = 1;
-int tda9855 = 1;
-int tda9873 = 1;
-int tda9874a = 1;
-int tea6300 = 0; // address clash with msp34xx
-int tea6320 = 0; // address clash with msp34xx
-int tea6420 = 1;
-int pic16c54 = 1;
-int ta8874z = 0; // address clash with tda9840
+static int tda8425 = 1;
+static int tda9840 = 1;
+static int tda9850 = 1;
+static int tda9855 = 1;
+static int tda9873 = 1;
+static int tda9874a = 1;
+static int tea6300 = 0; // address clash with msp34xx
+static int tea6320 = 0; // address clash with msp34xx
+static int tea6420 = 1;
+static int pic16c54 = 1;
+static int ta8874z = 0; // address clash with tda9840

module_param(tda8425, int, 0444);
module_param(tda9840, int, 0444);

-
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/