Skip to contentSkip to conversation

make itd1000_fre_values[] static const

PATCH New Adrian Bunk 1 participant 1 message Apr 28, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make itd1000_fre_values[] static const

itd1000_fre_values[] can become static const.

---
60d7bc869ba7395f6037b609a62638e1332aec48 diff --git a/drivers/media/dvb/frontends/itd1000.c b/drivers/media/dvb/frontends/itd1000.c index 04c562c..600dad6 100644

drivers/media/dvb/frontends/itd1000.c +1 -1
@@ -195,7 +195,7 @@ static void itd1000_set_vco(struct itd1000_state *state, u32 freq_khz)
 	}
 }
 
-struct {
+static const struct {
 	u32 freq;
 	u8 values[10]; /* RFTR, RFST1 - RFST9 */
 } itd1000_fre_values[] = {