]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: usb: Fix config indentation
authorRuben Di Battista <rubendibattista@gmail.com>
Thu, 6 Aug 2020 10:12:30 +0000 (12:12 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Aug 2020 15:20:33 +0000 (11:20 -0400)
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

index 756a4ec402e7ee1b3b0b369cee82bd51c310c807..34881a12b8b65c6af6074f852f23d93832affa52 100644 (file)
@@ -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