Skip to contentSkip to conversation

drivers: usb: Fix config indentation

PATCH New Ruben Di Battista 2 participants 2 messages Aug 6, 2020 – Aug 28, 2020 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: usb: Fix config indentation

The indentation was messing up with the scripts/build-whitelist.sh that was marking SYS_USB_EVENT_POLL_VIA_INT_QUEUE (and probably also the other indented options) erroneously as ad-hoc configure option with the following error:

```
Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
```
---
 drivers/usb/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/usb/Kconfig +6 -6
index 756a4ec402..34881a12b8 100644
@@ -113,14 +113,14 @@ choice
 	---help---
 	  Enable a polling mechanism for USB keyboard.
 
-	config SYS_USB_EVENT_POLL
-		bool "Interrupt polling"
+config SYS_USB_EVENT_POLL
+    bool "Interrupt polling"
 
-	config SYS_USB_EVENT_POLL_VIA_INT_QUEUE
-		bool "Poll via interrupt queue"
+config SYS_USB_EVENT_POLL_VIA_INT_QUEUE
+    bool "Poll via interrupt queue"
 
-	config SYS_USB_EVENT_POLL_VIA_CONTROL_EP
-		bool "Poll via control EP"
+config SYS_USB_EVENT_POLL_VIA_CONTROL_EP
+    bool "Poll via control EP"
 
 endchoice
 
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 drivers: usb: Fix config indentation

Quoted 10 lines · Ruben Di Battista

The indentation was messing up with the scripts/build-whitelist.sh that was marking SYS_USB_EVENT_POLL_VIA_INT_QUEUE (and probably also the other indented options) erroneously as ad-hoc configure option with the following error:

```
Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
```

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200828/fde0bbd2/attachment.sig>