]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7906): tuners/mxl5005s.c: don't define variables for enums
authorAdrian Bunk <bunk@kernel.org>
Fri, 16 May 2008 03:15:53 +0000 (00:15 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 5 Jun 2008 09:35:42 +0000 (06:35 -0300)
It doesn't seem to be intended that "tuner_modu_type" and
"MXL5005_ControlName" were global variables.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/tuners/mxl5005s.c

index 5d05b5390f66f48cc2e95c6f4d2f3bb7884a9156..0dc2bef9f6a3b9acd59c7c4c75439d3782ce0192 100644 (file)
@@ -101,7 +101,7 @@ enum {
        MXL_QAM,
        MXL_ANALOG_CABLE,
        MXL_ANALOG_OTA
-} tuner_modu_type;
+};
 
 /* MXL5005 Tuner Register Struct */
 struct TunerReg {
@@ -194,7 +194,7 @@ enum {
        RFSYN_DIVM,                /* 88 */
        DN_BYPASS_AGC_I2C          /* 89 */
 #endif
-} MXL5005_ControlName;
+};
 
 /*
  * The following context is source code provided by MaxLinear.