mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
This covers modules which need to initialize before task_start(), but don't particularly care in what order they're initialized. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=if it boots, it works Change-Id: I69829aac8d1c3c14ee04916a794b84bbf03a09eb
22 lines
587 B
C
22 lines
587 B
C
/* Copyright (c) 2012 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 module for Chrome EC */
|
|
|
|
#ifndef __CROS_EC_POWER_BUTTON_H
|
|
#define __CROS_EC_POWER_BUTTON_H
|
|
|
|
#include "common.h"
|
|
#include "gpio.h"
|
|
|
|
/* Interrupt handler for the power button and lid switch. Passed the signal
|
|
* which triggered the interrupt. */
|
|
void power_button_interrupt(enum gpio_signal signal);
|
|
|
|
/* Power button task */
|
|
void power_button_task(void);
|
|
|
|
#endif /* __CROS_EC_POWER_BUTTON_H */
|