summaryrefslogtreecommitdiff
path: root/arch/c6x/include
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-04-03 07:11:04 -0600
committerGrant Likely <grant.likely@secretlab.ca>2012-04-10 22:39:17 -0600
commita699e4e49ec3fb62c4a44394357d14081df10bef (patch)
tree4a64e6fd8bc6a71fe7212a69f552f4aef3bd473c /arch/c6x/include
parent5b7526e3a640e491075557acaa842c59c652c0c3 (diff)
downloadlinux-3.10-a699e4e49ec3fb62c4a44394357d14081df10bef.tar.gz
linux-3.10-a699e4e49ec3fb62c4a44394357d14081df10bef.tar.bz2
linux-3.10-a699e4e49ec3fb62c4a44394357d14081df10bef.zip
irq: Kill pointless irqd_to_hw export
It makes no sense to export this trivial function. Make it a static inline instead. This patch also drops virq_to_hw from arch/c6x since it is unused by that architecture. v2: Move irq_hw_number_t into types.h to fix ARM build failure Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/c6x/include')
-rw-r--r--arch/c6x/include/asm/irq.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/c6x/include/asm/irq.h b/arch/c6x/include/asm/irq.h
index f13b78d5e1c..ab4577f93d9 100644
--- a/arch/c6x/include/asm/irq.h
+++ b/arch/c6x/include/asm/irq.h
@@ -42,10 +42,6 @@
/* This number is used when no interrupt has been assigned */
#define NO_IRQ 0
-struct irq_data;
-extern irq_hw_number_t irqd_to_hwirq(struct irq_data *d);
-extern irq_hw_number_t virq_to_hw(unsigned int virq);
-
extern void __init init_pic_c64xplus(void);
extern void init_IRQ(void);