diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2014-02-18 16:34:17 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2014-02-18 08:06:18 -0800 |
commit | e27e80b722f198f855672c6cc9027d3d2582a942 (patch) | |
tree | f03f8ef1f0381abf904142232d94e652ba88de1f /arch/arm/mach-tegra/wakeups-t12x.c | |
parent | f2c4d4a28b06c968e993bf4c6073d655614d7456 (diff) |
ARM: tegra: initialise wakeup table before interrupt controller
Initailise all tegra wakeup tables before initialising the
interrupt controller so that irq client can enable the wakeup
properly.
bug 1461622
Change-Id: I06d824cf2261f41c72338426c6bda450649aa78e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/368773
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/wakeups-t12x.c')
-rw-r--r-- | arch/arm/mach-tegra/wakeups-t12x.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/wakeups-t12x.c b/arch/arm/mach-tegra/wakeups-t12x.c index 804fd66e67c6..d7eb090633e6 100644 --- a/arch/arm/mach-tegra/wakeups-t12x.c +++ b/arch/arm/mach-tegra/wakeups-t12x.c @@ -159,4 +159,8 @@ static int __init tegra12x_wakeup_table_init(void) tegra_wake_table_len = ARRAY_SIZE(tegra_gpio_wakes); return 0; } -postcore_initcall(tegra12x_wakeup_table_init); + +int __init tegra_wakeup_table_init(void) +{ + return tegra12x_wakeup_table_init(); +} |