drivers: hwinfo: fix shell dependency
The hwinfo shell uses shell functions and thus doesn't build when CONFIG_SHELL=n. Fix that by adding a dependency on SHELL. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
0e4ff809d7
commit
2682170502
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ if HWINFO
|
|||
|
||||
config HWINFO_SHELL
|
||||
bool "Enable HWINFO Shell"
|
||||
depends on SHELL
|
||||
help
|
||||
Enable hwinfo Shell for testing.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue