]> git.hungrycats.org Git - linux/commitdiff
Move definition of fiq_fix_enable to bcm2708.c to allow building without dwc_otg
authorpopcornmix <popcornmix@gmail.com>
Tue, 2 Apr 2013 12:53:40 +0000 (13:53 +0100)
committerpopcornmix <popcornmix@gmail.com>
Tue, 2 Apr 2013 12:53:40 +0000 (13:53 +0100)
arch/arm/mach-bcm2708/bcm2708.c
drivers/usb/host/dwc_otg/dwc_otg_driver.c

index 7294aa0c62645cf1f5b610398f61a226a94cec7e..3f9d32d79a4c42a45c69e64781aff7dfbdf0576d 100644 (file)
@@ -366,7 +366,7 @@ static struct resource bcm2708_usb_resources[] = {
               },
 };
 
-extern bool fiq_fix_enable;
+bool fiq_fix_enable = true;
 
 static struct resource bcm2708_usb_resources_no_fiq_fix[] = {
        [0] = {
index 25110cacabd369129983b1ac7fd58ce34c9ab412..cea8fcbc79a958dca754ef0174636208c18673aa 100644 (file)
@@ -240,8 +240,8 @@ static struct dwc_otg_driver_module_params dwc_otg_module_params = {
        .adp_enable = -1,
 };
 
-//Global variable to switch the fiq fix on or off
-bool fiq_fix_enable = true;
+//Global variable to switch the fiq fix on or off (declared in bcm2708.c)
+extern bool fiq_fix_enable;
 
 //Global variable to switch the nak holdoff on or off
 bool nak_holdoff_enable = true;