Skip to content

Commit

Permalink
Move definition of fiq_fix_enable to bcm2708.c to allow building with…
Browse files Browse the repository at this point in the history
…out dwc_otg
  • Loading branch information
popcornmix committed Apr 2, 2013
1 parent bb9948f commit e6ef7f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-bcm2708/bcm2708.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/host/dwc_otg/dwc_otg_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e6ef7f6

Please sign in to comment.