mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
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:
parent
27cc20049e
commit
c707713be8
@ -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_ */
|
||||
|
@ -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 **
|
||||
|
Loading…
Reference in New Issue
Block a user