Skip to content

Commit

Permalink
drivers: console: kconfig: Remove redundant 'depends on UART_MCUMGR'
Browse files Browse the repository at this point in the history
Appears within an 'if UART_MCUMGR'.

'if FOO' is just shorthand for adding 'depends on FOO' to each item
within the 'if'.

Signed-off-by: Ulf Magnusson <[email protected]>
  • Loading branch information
ulfalizer authored and galak committed Mar 15, 2019
1 parent 8b5d73e commit 5cd9227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/console/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ config UART_MCUMGR
data are handled by an application provided callback.

if UART_MCUMGR

config UART_MCUMGR_ON_DEV_NAME
string "Device Name of UART Device for mcumgr UART"
default "$(dt_str_val,DT_UART_MCUMGR_ON_DEV_NAME)" if HAS_DTS
default "UART_0"
depends on UART_MCUMGR
help
This option specifies the name of UART device to be used
for mcumgr UART.
Expand Down

0 comments on commit 5cd9227

Please sign in to comment.