diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-07 05:17:20 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-07 05:17:20 -0400 |
commit | c51279ec0d2d959e13831ae84b714301f0494f27 (patch) | |
tree | 7fa64e7f537252b7fb2bf7bcfcaa942487da1e1f /arch/sh/boards | |
parent | 0fb849b9d743a20056f2418cd955e5c650658663 (diff) |
sh: Kill off unused SH-5 irq_describe cruft.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-cayman/irq.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sh/boards/mach-cayman/irq.c b/arch/sh/boards/mach-cayman/irq.c index dbb00c991324..33f770856319 100644 --- a/arch/sh/boards/mach-cayman/irq.c +++ b/arch/sh/boards/mach-cayman/irq.c | |||
@@ -142,21 +142,6 @@ int cayman_irq_demux(int evt) | |||
142 | return irq; | 142 | return irq; |
143 | } | 143 | } |
144 | 144 | ||
145 | #if defined(CONFIG_PROC_FS) && defined(CONFIG_SYSCTL) | ||
146 | int cayman_irq_describe(char* p, int irq) | ||
147 | { | ||
148 | if (irq < NR_INTC_IRQS) { | ||
149 | return intc_irq_describe(p, irq); | ||
150 | } else if (irq < NR_INTC_IRQS + 8) { | ||
151 | return sprintf(p, "(SMSC %d)", irq - NR_INTC_IRQS); | ||
152 | } else if ((irq >= NR_INTC_IRQS + 24) && (irq < NR_INTC_IRQS + 32)) { | ||
153 | return sprintf(p, "(PCI2 %d)", irq - (NR_INTC_IRQS + 24)); | ||
154 | } | ||
155 | |||
156 | return 0; | ||
157 | } | ||
158 | #endif | ||
159 | |||
160 | void init_cayman_irq(void) | 145 | void init_cayman_irq(void) |
161 | { | 146 | { |
162 | int i; | 147 | int i; |