Skip to contentSkip to conversation

tuners/mxl5005s.c: don't define variables for enums

PATCH New Adrian Bunk 1 participant 1 message May 16, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tuners/mxl5005s.c: don't define variables for enums

It doesn't seem to be intended that "tuner_modu_type" and "MXL5005_ControlName" were global variables.

---

 drivers/media/common/tuners/mxl5005s.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

e6a639a06854b75ca90e49e00dfd858cb4c8dd02 diff --git a/drivers/media/common/tuners/mxl5005s.c b/drivers/media/common/tuners/mxl5005s.c index 5d05b53..0dc2bef 100644

drivers/media/common/tuners/mxl5005s.c +2 -2
@@ -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.