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:
Aurelien Jarno 2019-02-10 14:20:58 +01:00 committed by Anas Nashif
commit 2682170502

View file

@ -15,6 +15,7 @@ if HWINFO
config HWINFO_SHELL
bool "Enable HWINFO Shell"
depends on SHELL
help
Enable hwinfo Shell for testing.