0086-irq-bcm2835-Fix-building-with-2708.patch 906 B

12345678910111213141516171819202122232425262728
  1. From 5f1f5e7db749eeaa307b0ba384e29d99b10e3290 Mon Sep 17 00:00:00 2001
  2. From: popcornmix <popcornmix@gmail.com>
  3. Date: Mon, 28 Sep 2015 23:38:59 +0100
  4. Subject: [PATCH 086/381] irq-bcm2835: Fix building with 2708
  5. ---
  6. drivers/irqchip/irq-bcm2835.c | 3 ++-
  7. 1 file changed, 2 insertions(+), 1 deletion(-)
  8. --- a/drivers/irqchip/irq-bcm2835.c
  9. +++ b/drivers/irqchip/irq-bcm2835.c
  10. @@ -82,6 +82,7 @@
  11. #define NR_BANKS 3
  12. #define IRQS_PER_BANK 32
  13. #define NUMBER_IRQS MAKE_HWIRQ(NR_BANKS, 0)
  14. +#undef FIQ_START
  15. #define FIQ_START (NR_IRQS_BANK0 + MAKE_HWIRQ(NR_BANKS - 1, 0))
  16. static const int reg_pending[] __initconst = { 0x00, 0x04, 0x08 };
  17. @@ -256,7 +257,7 @@ static int __init armctrl_of_init(struct
  18. MAKE_HWIRQ(b, i) + NUMBER_IRQS);
  19. BUG_ON(irq <= 0);
  20. irq_set_chip(irq, &armctrl_chip);
  21. - set_irq_flags(irq, IRQF_VALID | IRQF_PROBE);
  22. + irq_set_probe(irq);
  23. }
  24. }
  25. init_FIQ(FIQ_START);