kconfig: guard grove lcd logging macros

Logging kconfig options for this lcd should appear when the hardware is
enabled.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-07-20 07:37:28 -04:00 committed by Carles Cufí
commit 3133666c9a

View file

@ -1,12 +1,14 @@
# Copyright (c) 2015 Intel Corporation # Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
module = GROVE_LCD_RGB
module-str = grove_lcd_rgb
source "subsys/logging/Kconfig.template.log_config"
config GROVE_LCD_RGB config GROVE_LCD_RGB
bool "Seeed Grove LCD RGB Backlight" bool "Seeed Grove LCD RGB Backlight"
help help
Setting this value will enable driver support for the Groove-LCD RGB Setting this value will enable driver support for the Groove-LCD RGB
Backlight. Backlight.
if GROVE_LCD_RGB
module = GROVE_LCD_RGB
module-str = grove_lcd_rgb
source "subsys/logging/Kconfig.template.log_config"
endif