summaryrefslogtreecommitdiff
path: root/include/x86_power.h
blob: 5693ea3d77975293bb419c1df19fa817a70f9ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 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.
 */

/* x86 power module for Chrome EC */

#ifndef __CROS_EC_X86_POWER_H
#define __CROS_EC_X86_POWER_H

#include "gpio.h"

#ifdef CONFIG_CHIPSET_X86
/**
 * Interrupt handler for x86 chipset GPIOs.
 */
void x86_power_interrupt(enum gpio_signal signal);
#else
#define x86_power_interrupt NULL
#endif

#endif  /* __CROS_EC_X86_POWER_H */