The ehci_dump() function shouldn't be declared static, as it is
just a convenience function to be called from debuggers that gets compiled in when EHCI_DEBUG is defined. Move its declaration to make this more obvious.
This commit is contained in:
parent
5b410dcf85
commit
b483f84d55
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137156
@ -245,7 +245,6 @@ Static void ehci_abort_xfer(usbd_xfer_handle, usbd_status);
|
||||
|
||||
#ifdef EHCI_DEBUG
|
||||
Static void ehci_dump_regs(ehci_softc_t *);
|
||||
Static void ehci_dump(void);
|
||||
Static ehci_softc_t *theehci;
|
||||
Static void ehci_dump_link(ehci_link_t, int);
|
||||
Static void ehci_dump_sqtds(ehci_soft_qtd_t *);
|
||||
@ -1240,6 +1239,7 @@ ehci_dump_regs(ehci_softc_t *sc)
|
||||
* Unused function - this is meant to be called from a kernel
|
||||
* debugger.
|
||||
*/
|
||||
void ehci_dump(void);
|
||||
void
|
||||
ehci_dump()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user