usb/rpi: fix inconsistency between C and C++

Change fiq_enable from 'int' to 'char' (is bool/_BOOL in C) so data does
not get overwritten accidentally.
This commit is contained in:
Sebastian Sumpf 2017-02-27 16:39:49 +01:00 committed by Christian Helmuth
parent 27cc20049e
commit c707713be8
2 changed files with 7 additions and 2 deletions

View File

@ -347,4 +347,11 @@ struct usb_xhci_pdata {
#define __bus_to_virt phys_to_virt
/********************************************************
** drivers/usb/host/dwc_otg/dwc_otg/dwc_otg_fiq_fsm.h **
********************************************************/
extern bool fiq_enable, fiq_fsm_enable;
#endif /* _ARM__PLATFORM__LX_EMUL_H_ */

View File

@ -251,8 +251,6 @@ extern "C" void dwc_otg_fiq_fsm(struct fiq_state *state, int num_channels) { TRA
unsigned char _dwc_otg_fiq_stub, _dwc_otg_fiq_stub_end;
extern int fiq_enable, fiq_fsm_enable;
/***********************
** asm/dma_mapping.h **