summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/wakeups-t3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/wakeups-t3.c')
-rw-r--r--arch/arm/mach-tegra/wakeups-t3.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/wakeups-t3.c b/arch/arm/mach-tegra/wakeups-t3.c
index 0bb854c71dc8..3f3e0ae88e7e 100644
--- a/arch/arm/mach-tegra/wakeups-t3.c
+++ b/arch/arm/mach-tegra/wakeups-t3.c
@@ -1,15 +1,17 @@
/*
- * Copyright (c) 2011-2012, NVIDIA Corporation.
+ * Copyright (c) 2011-2013, NVIDIA CORPORATION. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
+ * This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/kernel.h>
@@ -22,6 +24,7 @@
#include <mach/gpio-tegra.h>
#include "gpio-names.h"
+#include "pm-irq.h"
static int tegra_gpio_wakes[] = {
TEGRA_GPIO_PO5, /* wake0 */
@@ -116,6 +119,18 @@ static int tegra_wake_event_irq[] = {
static int last_gpio = -1;
+inline void tegra_get_internal_any_wake_list(u8 *wake_count,
+ u8 **any_wake, u8 *remote_usb_index)
+{
+ *wake_count = 0;
+}
+
+inline int get_vbus_id_cable_connect_state(bool *is_vbus_connected,
+ bool *is_id_connected)
+{
+ return -EIO;
+}
+
int tegra_gpio_to_wake(int gpio)
{
int i;