diff mbox series

drivers: usb: Fix config indentation

Message ID 20200806101229.46212-1-rubendibattista@gmail.com
State Accepted
Commit 67e62c746823329a4a65356ab0fe81dfc2b8784b
Delegated to: Tom Rini
Headers show
Series drivers: usb: Fix config indentation | expand

Commit Message

Ruben Di Battista Aug. 6, 2020, 10:12 a.m. UTC
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(-)

Comments

Tom Rini Aug. 28, 2020, 12:53 p.m. UTC | #1
On Thu, Aug 06, 2020 at 12:12:30PM +0200, Ruben Di Battista wrote:

> 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!
diff mbox series

Patch

diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 756a4ec402..34881a12b8 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -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