diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-16 05:46:24 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-16 05:46:24 +0000 |
commit | 520baf0b6af5eec643eb6405f600cce603213aa9 (patch) | |
tree | 4a8183cde39e0820749c74edca9247b6557a0fed /firmware | |
parent | 2e9242e3216e2bf1b19c7ec0e4a06b7801f920c1 (diff) |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/usb_drv.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/usb-drv-arc.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/usb_drv.h b/firmware/export/usb_drv.h index fad9c79c10..c0b4d561f2 100644 --- a/firmware/export/usb_drv.h +++ b/firmware/export/usb_drv.h @@ -26,7 +26,6 @@ void usb_drv_startup(void); void usb_drv_usb_detect_event(void); /* Target implemented */ void usb_drv_int_enable(bool enable); /* Target implemented */ -void usb_drv_reset(void); void usb_drv_init(void); void usb_drv_exit(void); void usb_drv_attach(void); diff --git a/firmware/target/arm/usb-drv-arc.c b/firmware/target/arm/usb-drv-arc.c index 3b1146cc5c..86a1637bc8 100644 --- a/firmware/target/arm/usb-drv-arc.c +++ b/firmware/target/arm/usb-drv-arc.c @@ -379,7 +379,7 @@ static void usb_drv_stop(void) REG_USBCMD &= ~USBCMD_RUN; } -void usb_drv_reset(void) +static void usb_drv_reset(void) { int oldlevel = disable_irq_save(); REG_USBCMD &= ~USBCMD_RUN; |