diff options
Diffstat (limited to 'include/power_led.h')
-rw-r--r-- | include/power_led.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/power_led.h b/include/power_led.h deleted file mode 100644 index 05ea7ead3c..0000000000 --- a/include/power_led.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright 2013 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* Power button LED control for Chrome EC */ - -#ifndef __CROS_EC_POWER_LED_H -#define __CROS_EC_POWER_LED_H - -#include "common.h" - -enum powerled_state { - POWERLED_STATE_OFF, - POWERLED_STATE_ON, - POWERLED_STATE_SUSPEND, - POWERLED_STATE_COUNT -}; - -#ifdef HAS_TASK_POWERLED - -/** - * Set the power LED - * - * @param state Target state - */ -void powerled_set_state(enum powerled_state state); - -#else - -static inline void powerled_set_state(enum powerled_state state) {} - -#endif - -#endif /* __CROS_EC_POWER_LED_H */ |