summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2015-01-02 22:48:01 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2015-01-08 16:45:41 +0100
commit3aebdfa6424fac99a4d1b7e09161f203c005cda5 (patch)
treea0b76d468aebc90df55fd935c2537a8e2fd22a80
parentdc127f213c9b7e60f649bc236602e4f28285c53b (diff)
downloadrockbox-3aebdfa6424fac99a4d1b7e09161f203c005cda5.tar.gz
rockbox-3aebdfa6424fac99a4d1b7e09161f203c005cda5.zip
usb: make usb_release_exclusive_storage private
Change-Id: I0383760b7d8e67cc99bbe4e4979bca92ef436c8d Reviewed-on: http://gerrit.rockbox.org/1098 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
-rw-r--r--firmware/export/usb.h1
-rw-r--r--firmware/usb.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 74c4826006..ff85cb99ce 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -234,7 +234,6 @@ bool usb_driver_enabled(int driver);
234/* returns whether exclusive storage is available for USB */ 234/* returns whether exclusive storage is available for USB */
235bool usb_exclusive_storage(void); 235bool usb_exclusive_storage(void);
236#endif /* HAVE_USBSTACK */ 236#endif /* HAVE_USBSTACK */
237int usb_release_exclusive_storage(void);
238 237
239#ifdef USB_FIREWIRE_HANDLING 238#ifdef USB_FIREWIRE_HANDLING
240bool firewire_detect(void); 239bool firewire_detect(void);
diff --git a/firmware/usb.c b/firmware/usb.c
index a736f31ca5..e5210efc11 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -88,6 +88,8 @@ static long usb_last_broadcast_tick = 0;
88static bool usb_charging_only = false; 88static bool usb_charging_only = false;
89#endif 89#endif
90 90
91static int usb_release_exclusive_storage(void);
92
91#if defined(USB_FIREWIRE_HANDLING) 93#if defined(USB_FIREWIRE_HANDLING)
92static void try_reboot(void) 94static void try_reboot(void)
93{ 95{