diff options
author | Gary King <gking@nvidia.com> | 2009-12-15 11:38:00 -0800 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2009-12-15 19:47:39 -0800 |
commit | 82280a12c76a4a24c3937f3d043bf04e482e14ca (patch) | |
tree | 92ed63bfee6863127bf2bee8247c209399674814 /arch/arm/mach-tegra/irq.c | |
parent | 0f01600764cbe7da7511b034fb6b7884d92a800c (diff) |
tegra: fix irq build
declare tegra_init_dma and tegra_init_gpio as extern functions
provide correct parameters to tegra_irq_register_module
build irq_gpio.c
Change-Id: I436cf98d37b43910dce70e5ba72c3aa5885ff86a
Diffstat (limited to 'arch/arm/mach-tegra/irq.c')
-rw-r--r-- | arch/arm/mach-tegra/irq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c index 189b08f188b6..94ec790c9b2e 100644 --- a/arch/arm/mach-tegra/irq.c +++ b/arch/arm/mach-tegra/irq.c @@ -39,6 +39,10 @@ #include "ap20/arfic_dist.h" #include "mach/board.h" +#ifdef CONFIG_TEGRA_SYSTEM_DMA +extern void __init tegra_init_dma(void); /* irq_dma.c */ +#endif +extern void __init tegra_init_gpio(void); /* irq_gpio.c */ /* Exported symbol shared with NvOs defining the number of non-GPIO interrupts * present on the system */ @@ -307,7 +311,7 @@ void __init tegra_init_irq(void) continue; } - tegra_irq_register_module() + tegra_irq_register_module(Module, pIrq); } tegra_init_gpio(); |