diff options
Diffstat (limited to 'board/spring/board.c')
-rw-r--r-- | board/spring/board.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/board/spring/board.c b/board/spring/board.c index 774f466814..cd98e21d7e 100644 --- a/board/spring/board.c +++ b/board/spring/board.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +/* 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. */ @@ -46,18 +46,20 @@ uint8_t breathing_prog[] = {0x41, 0xff, /* 0x80 -> 0x0 */ 0x00, 0x00}; /* Repeat */ /* GPIO interrupt handlers prototypes */ -#ifndef CONFIG_TASK_GAIAPOWER -#define gaia_power_event NULL -#define gaia_suspend_event NULL -#define gaia_lid_event NULL -#else +#ifdef CONFIG_CHIPSET_GAIA void gaia_power_event(enum gpio_signal signal); void gaia_suspend_event(enum gpio_signal signal); void gaia_lid_event(enum gpio_signal signal); +#else +#define gaia_power_event NULL +#define gaia_suspend_event NULL +#define gaia_lid_event NULL #endif + #ifndef CONFIG_TASK_KEYSCAN #define matrix_interrupt NULL #endif + void usb_charge_interrupt(enum gpio_signal signal); /* GPIO signal list. Must match order from enum gpio_signal. */ |