summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/irq-common.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-03-25 09:20:36 -0300
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 16:17:50 +0800
commitbce344eae643663c087a976f9496d143d4d32a1e (patch)
tree3bc5d99c315e30803e1911910602a95671bb8543 /arch/arm/mach-imx/irq-common.c
parentd7b8c030f6734fae1ef45b531a1fa26d64213b55 (diff)
ARM: mach-imx: irq-common: Remove imx_irq_set_priority()
imx_irq_set_priority() is not used anywhere, so remove it. This fixes the following sparse warnings: arch/arm/mach-imx/irq-common.c:24:5: warning: symbol 'imx_irq_set_priority' was not declared. Should it be static? Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/irq-common.c')
-rw-r--r--arch/arm/mach-imx/irq-common.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-imx/irq-common.c b/arch/arm/mach-imx/irq-common.c
index b6e11458e5a..4b34f52dc46 100644
--- a/arch/arm/mach-imx/irq-common.c
+++ b/arch/arm/mach-imx/irq-common.c
@@ -21,25 +21,6 @@
#include "irq-common.h"
-int imx_irq_set_priority(unsigned char irq, unsigned char prio)
-{
- struct irq_chip_generic *gc;
- struct mxc_extra_irq *exirq;
- int ret;
-
- ret = -ENOSYS;
-
- gc = irq_get_chip_data(irq);
- if (gc && gc->private) {
- exirq = gc->private;
- if (exirq->set_priority)
- ret = exirq->set_priority(irq, prio);
- }
-
- return ret;
-}
-EXPORT_SYMBOL(imx_irq_set_priority);
-
int mxc_set_irq_fiq(unsigned int irq, unsigned int type)
{
struct irq_chip_generic *gc;