diff options
Diffstat (limited to 'include/backlight.h')
-rw-r--r-- | include/backlight.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/backlight.h b/include/backlight.h deleted file mode 100644 index 1bfafbdd2c..0000000000 --- a/include/backlight.h +++ /dev/null @@ -1,30 +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. - */ - -/* Backlight API for Chrome EC */ - -#ifndef __CROS_EC_BACKLIGHT_H -#define __CROS_EC_BACKLIGHT_H - -#include "common.h" -#include "gpio.h" - -/** - * Interrupt handler for backlight. - * - * @param signal Signal which triggered the interrupt. - */ -#ifdef CONFIG_BACKLIGHT_REQ_GPIO -void backlight_interrupt(enum gpio_signal signal); -#else -static inline void backlight_interrupt(enum gpio_signal signal) { } -#endif /* !CONFIG_BACKLIGHT_REQ_GPIO */ - -/** - * Activate/Deactivate the backlight GPIO pin considering active high or low. - */ -void enable_backlight(int enabled); - -#endif /* __CROS_EC_BACKLIGHT_H */ |