--- zzzz-none-000/linux-3.10.107/arch/powerpc/platforms/85xx/socrates_fpga_pic.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/platforms/85xx/socrates_fpga_pic.c 2021-02-04 17:41:59.000000000 +0000 @@ -9,6 +9,8 @@ */ #include +#include +#include #include #include @@ -89,9 +91,10 @@ (irq_hw_number_t)i); } -void socrates_fpga_pic_cascade(unsigned int irq, struct irq_desc *desc) +static void socrates_fpga_pic_cascade(struct irq_desc *desc) { struct irq_chip *chip = irq_desc_get_chip(desc); + unsigned int irq = irq_desc_get_irq(desc); unsigned int cascade_irq; /*