diff options
Diffstat (limited to 'include/switch.h')
-rw-r--r-- | include/switch.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/switch.h b/include/switch.h deleted file mode 100644 index e026408af9..0000000000 --- a/include/switch.h +++ /dev/null @@ -1,25 +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. - */ - -/* Switch module for Chrome EC */ - -#ifndef __CROS_EC_SWITCH_H -#define __CROS_EC_SWITCH_H - -#include "common.h" -#include "gpio.h" - -#ifdef CONFIG_SWITCH -/** - * Interrupt handler for switch inputs. - * - * @param signal Signal which triggered the interrupt. - */ -void switch_interrupt(enum gpio_signal signal); -#else -static inline void switch_interrupt(enum gpio_signal signal) { } -#endif /* !CONFIG_SWITCH */ - -#endif /* __CROS_EC_SWITCH_H */ |