summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/sysdev/ge
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/sysdev/ge')
-rw-r--r--kernel/arch/powerpc/sysdev/ge/ge_pic.c2
-rw-r--r--kernel/arch/powerpc/sysdev/ge/ge_pic.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/kernel/arch/powerpc/sysdev/ge/ge_pic.c b/kernel/arch/powerpc/sysdev/ge/ge_pic.c
index 2bcb78bb3..d57b77573 100644
--- a/kernel/arch/powerpc/sysdev/ge/ge_pic.c
+++ b/kernel/arch/powerpc/sysdev/ge/ge_pic.c
@@ -91,7 +91,7 @@ static int gef_pic_cascade_irq;
* should be masked out.
*/
-void gef_pic_cascade(unsigned int irq, struct irq_desc *desc)
+static void gef_pic_cascade(struct irq_desc *desc)
{
struct irq_chip *chip = irq_desc_get_chip(desc);
unsigned int cascade_irq;
diff --git a/kernel/arch/powerpc/sysdev/ge/ge_pic.h b/kernel/arch/powerpc/sysdev/ge/ge_pic.h
index 908dbd982..5bf7e4b81 100644
--- a/kernel/arch/powerpc/sysdev/ge/ge_pic.h
+++ b/kernel/arch/powerpc/sysdev/ge/ge_pic.h
@@ -1,8 +1,6 @@
#ifndef __GEF_PIC_H__
#define __GEF_PIC_H__
-
-void gef_pic_cascade(unsigned int, struct irq_desc *);
unsigned int gef_pic_get_irq(void);
void gef_pic_init(struct device_node *);