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 | |
parent | 2e9242e3216e2bf1b19c7ec0e4a06b7801f920c1 (diff) | |
download | rockbox-520baf0b6af5eec643eb6405f600cce603213aa9.tar.gz rockbox-520baf0b6af5eec643eb6405f600cce603213aa9.zip |
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
-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 @@ | |||
26 | void usb_drv_startup(void); | 26 | void usb_drv_startup(void); |
27 | void usb_drv_usb_detect_event(void); /* Target implemented */ | 27 | void usb_drv_usb_detect_event(void); /* Target implemented */ |
28 | void usb_drv_int_enable(bool enable); /* Target implemented */ | 28 | void usb_drv_int_enable(bool enable); /* Target implemented */ |
29 | void usb_drv_reset(void); | ||
30 | void usb_drv_init(void); | 29 | void usb_drv_init(void); |
31 | void usb_drv_exit(void); | 30 | void usb_drv_exit(void); |
32 | void usb_drv_attach(void); | 31 | 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) | |||
379 | REG_USBCMD &= ~USBCMD_RUN; | 379 | REG_USBCMD &= ~USBCMD_RUN; |
380 | } | 380 | } |
381 | 381 | ||
382 | void usb_drv_reset(void) | 382 | static void usb_drv_reset(void) |
383 | { | 383 | { |
384 | int oldlevel = disable_irq_save(); | 384 | int oldlevel = disable_irq_save(); |
385 | REG_USBCMD &= ~USBCMD_RUN; | 385 | REG_USBCMD &= ~USBCMD_RUN; |