diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2012-06-01 16:13:26 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-03 08:07:04 -0700 |
commit | 13a24d7aa0f4de6e0c4f578296b803748590b98c (patch) | |
tree | 33ebfc364dafc299d4d96aba5d07dd41a40c5e6b /arch/arm/mach-tegra/wakeups.h | |
parent | bd44232c77e49bba4f23f5c7dde68a82414c722b (diff) |
ARM: tegra: wake up cleanup
Duplicate functions for wakeup support removed.
bug 980993
Change-Id: I1e385a1adec6f2d64ce2c88a59e94d647a16569d
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/105901
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/wakeups.h')
-rw-r--r-- | arch/arm/mach-tegra/wakeups.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/wakeups.h b/arch/arm/mach-tegra/wakeups.h new file mode 100644 index 000000000000..ab113649d534 --- /dev/null +++ b/arch/arm/mach-tegra/wakeups.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. + * + * 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 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/>. + */ + +#ifndef __WAKEUPS_H_ +#define __WAKEUPS_H_ + +/* + * given irq number returns wake source index or negative value for error + */ +int tegra_irq_to_wake(int irq); +/* + * given wake source index, returns irq number or negative value for error + */ +int tegra_wake_to_irq(int wake); + +#endif /* end __WAKEUPS_H_ */ |