Skip to contentSkip to conversation

usb: gadget: nokia: correct CONFIG_USB_GADGET_DEBUG_FILES macro name in comment

PATCH New Ethan Nelson-Moore 1 participant 1 message Jun 13 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: nokia: correct CONFIG_USB_GADGET_DEBUG_FILES macro name in comment

A comment in drivers/usb/gadget/legacy/nokia.c incorrectly refers to CONFIG_USB_DEBUG instead of CONFIG_USB_GADGET_DEBUG_FILES. Correct it.

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

---
 drivers/usb/gadget/legacy/nokia.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/legacy/nokia.c +1 -1
index 2e15f9a32ce9..396605a84cd1 100644
@@ -50,7 +50,7 @@ static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS;
  */
 #define fsg_num_buffers	CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS
 
-#endif /* CONFIG_USB_DEBUG */
+#endif /* CONFIG_USB_GADGET_DEBUG_FILES */
 
 FSG_MODULE_PARAMETERS(/* no prefix */, fsg_mod_data);
 
Signature · 1 line
2.43.0