Skip to content

Instantly share code, notes, and snippets.

@pelwell
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pelwell/bfbd359c76272224091a to your computer and use it in GitHub Desktop.
Save pelwell/bfbd359c76272224091a to your computer and use it in GitHub Desktop.
squash: Unbreak BCM2709 build
From 1e6be5cac10150d967295575e8192ee2445e167c Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Sat, 22 Aug 2015 16:09:40 +0100
Subject: [PATCH] squash: Unbreak BCM2709 build
---
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
index 7d9e82d..a331720 100644
--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
@@ -448,9 +448,11 @@ static void hcd_init_fiq(void *cookie)
#ifdef CONFIG_ARCH_BCM2835
enable_fiq(platform_get_irq(otg_dev->os_dep.platformdev, 1));
#else
+#ifdef CONFIG_MULTI_IRQ_HANDLER
if (otg_dev->os_dep.platformdev->dev.of_node)
enable_fiq(platform_get_irq(otg_dev->os_dep.platformdev, 1));
else
+#endif
enable_fiq(INTERRUPT_VC_USB);
#endif
local_fiq_enable();
--
1.8.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment