diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-05 04:37:22 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-24 04:08:58 -0500 |
commit | c7259df3af03aee00985e9bb64fb2afa593f703f (patch) | |
tree | 1cfa894081ad2704e4047ee64a9d534d0dfc2f84 /arch/arm/plat-mxc/Kconfig | |
parent | 7608d7d2b4a146f560436f5b99b1b93d30049e4e (diff) |
ARM i.MX irq: Compile avic irq code only on SoCs that need it
This patch adds a Kconfig option for the avic irq controller
and lets the SoCs that need it select this option.
Also, as we have two irq controllers for i.MX, irq.c is not
appropriate anymore, so rename it to avic.c
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/Kconfig')
-rw-r--r-- | arch/arm/plat-mxc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index a31fa161bb6d..6c66bc0521d8 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig | |||
@@ -70,6 +70,9 @@ config MXC_TZIC | |||
70 | containing this interrupt controller. | 70 | containing this interrupt controller. |
71 | Say N here only if you are really sure. | 71 | Say N here only if you are really sure. |
72 | 72 | ||
73 | config MXC_AVIC | ||
74 | bool | ||
75 | |||
73 | config MXC_PWM | 76 | config MXC_PWM |
74 | tristate "Enable PWM driver" | 77 | tristate "Enable PWM driver" |
75 | select HAVE_PWM | 78 | select HAVE_PWM |