From 7504265e47557109b1d2cfa50ac0a8493284a813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20H=C3=BCbner?= Date: Sun, 10 Oct 2021 18:47:54 +0200 Subject: [PATCH] drivers: lis2dh: Add names to choices in Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unless a choice is named, its default value cannot be changed in another Kconfig file. Signed-off-by: Pavel Hübner --- drivers/sensor/lis2dh/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/sensor/lis2dh/Kconfig b/drivers/sensor/lis2dh/Kconfig index 63b50edd530..b99aa459a92 100644 --- a/drivers/sensor/lis2dh/Kconfig +++ b/drivers/sensor/lis2dh/Kconfig @@ -49,7 +49,7 @@ config LIS2DH_THREAD_STACK_SIZE help Stack size of thread used by the driver to handle interrupts. -choice +choice LIS2DH_ACCEL_RANGE prompt "Acceleration measurement range" default LIS2DH_ACCEL_RANGE_RUNTIME help @@ -72,7 +72,7 @@ config LIS2DH_ACCEL_RANGE_16G endchoice -choice +choice LIS2DH_OPER_MODE prompt "Operation mode" default LIS2DH_OPER_MODE_NORMAL help @@ -90,7 +90,7 @@ config LIS2DH_OPER_MODE_LOW_POWER endchoice -choice +choice LIS2DH_ODR prompt "Output data rate frequency" default LIS2DH_ODR_RUNTIME help