summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/sysdev/uic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/sysdev/uic.c')
-rw-r--r--kernel/arch/powerpc/sysdev/uic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/arch/powerpc/sysdev/uic.c b/kernel/arch/powerpc/sysdev/uic.c
index 7c37157d4..6893d8f23 100644
--- a/kernel/arch/powerpc/sysdev/uic.c
+++ b/kernel/arch/powerpc/sysdev/uic.c
@@ -189,16 +189,16 @@ static int uic_host_map(struct irq_domain *h, unsigned int virq,
return 0;
}
-static struct irq_domain_ops uic_host_ops = {
+static const struct irq_domain_ops uic_host_ops = {
.map = uic_host_map,
.xlate = irq_domain_xlate_twocell,
};
-void uic_irq_cascade(unsigned int virq, struct irq_desc *desc)
+static void uic_irq_cascade(struct irq_desc *desc)
{
struct irq_chip *chip = irq_desc_get_chip(desc);
struct irq_data *idata = irq_desc_get_irq_data(desc);
- struct uic *uic = irq_get_handler_data(virq);
+ struct uic *uic = irq_desc_get_handler_data(desc);
u32 msr;
int src;
int subvirq;