summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/open_pic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/kernel/open_pic.c')
-rw-r--r--arch/ppc/kernel/open_pic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/kernel/open_pic.c b/arch/ppc/kernel/open_pic.c
index 301a82ba8..9438c57ee 100644
--- a/arch/ppc/kernel/open_pic.c
+++ b/arch/ppc/kernel/open_pic.c
@@ -97,7 +97,7 @@ struct hw_interrupt_type open_pic = {
#define check_arg_cpu(cpu) do {} while (0)
#endif
-static void no_action(int ir1, void *dev, struct pt_regs *regs)
+void no_action(int ir1, void *dev, struct pt_regs *regs)
{
}
@@ -301,7 +301,7 @@ void find_ISUs(void)
NumSources = 0x10;
#else
/* for non-distributed OpenPIC implementations it's in the IDU -- Cort */
- ISU = OpenPIC->Source;
+ ISU = (OpenPIC_Source *)OpenPIC->Source;
#endif
}