Skip to contentSkip to conversation

media: mxl5005s: correct CONFIG_MEDIA_TUNER_MXL5005S macro name in comment

PATCH Superseded Ethan Nelson-Moore 1 participant 1 message Jun 13 Media (V4L/DVB)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: mxl5005s: correct CONFIG_MEDIA_TUNER_MXL5005S macro name in comment

A comment in drivers/media/tuners/mxl5005s.h incorrectly refers to CONFIG_DVB_TUNER_MXL5005S instead of CONFIG_MEDIA_TUNER_MXL5005S. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 drivers/media/tuners/mxl5005s.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/tuners/mxl5005s.h +1 -1
index cb7395fc4b70..b057fa102792 100644
@@ -116,7 +116,7 @@ static inline struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe,
 	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
 	return NULL;
 }
-#endif /* CONFIG_DVB_TUNER_MXL5005S */
+#endif /* IS_REACHABLE(CONFIG_MEDIA_TUNER_MXL5005S) */
 
 #endif /* __MXL5005S_H */
 
Signature · 1 line
2.43.0