forked from len0rd/rockbox
usb_drv_reset() is only used in usb-drv-arc.c
remove from usb_drv.h and mark static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28092 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2e9242e321
commit
520baf0b6a
2 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@
|
||||||
void usb_drv_startup(void);
|
void usb_drv_startup(void);
|
||||||
void usb_drv_usb_detect_event(void); /* Target implemented */
|
void usb_drv_usb_detect_event(void); /* Target implemented */
|
||||||
void usb_drv_int_enable(bool enable); /* Target implemented */
|
void usb_drv_int_enable(bool enable); /* Target implemented */
|
||||||
void usb_drv_reset(void);
|
|
||||||
void usb_drv_init(void);
|
void usb_drv_init(void);
|
||||||
void usb_drv_exit(void);
|
void usb_drv_exit(void);
|
||||||
void usb_drv_attach(void);
|
void usb_drv_attach(void);
|
||||||
|
|
|
@ -379,7 +379,7 @@ static void usb_drv_stop(void)
|
||||||
REG_USBCMD &= ~USBCMD_RUN;
|
REG_USBCMD &= ~USBCMD_RUN;
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_drv_reset(void)
|
static void usb_drv_reset(void)
|
||||||
{
|
{
|
||||||
int oldlevel = disable_irq_save();
|
int oldlevel = disable_irq_save();
|
||||||
REG_USBCMD &= ~USBCMD_RUN;
|
REG_USBCMD &= ~USBCMD_RUN;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue