summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/jecht/led.c')
-rw-r--r--src/mainboard/google/jecht/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/jecht/led.c b/src/mainboard/google/jecht/led.c
index d7faafb245..9c3878f3cf 100644
--- a/src/mainboard/google/jecht/led.c
+++ b/src/mainboard/google/jecht/led.c
@@ -21,7 +21,7 @@ void set_power_led(int state)
{
int polarity;
- if (IS_ENABLED(CONFIG_BOARD_GOOGLE_TIDUS)) {
+ if (CONFIG(BOARD_GOOGLE_TIDUS)) {
polarity = state == LED_OFF ? 0x00 : 0x01;
} else {
polarity = state == LED_BLINK ? 0x01 : 0x00;