diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2015-01-02 22:48:01 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2015-01-08 16:45:41 +0100 |
commit | 3aebdfa6424fac99a4d1b7e09161f203c005cda5 (patch) | |
tree | a0b76d468aebc90df55fd935c2537a8e2fd22a80 /firmware | |
parent | dc127f213c9b7e60f649bc236602e4f28285c53b (diff) | |
download | rockbox-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>
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/usb.h | 1 | ||||
-rw-r--r-- | firmware/usb.c | 2 |
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 */ |
235 | bool usb_exclusive_storage(void); | 235 | bool usb_exclusive_storage(void); |
236 | #endif /* HAVE_USBSTACK */ | 236 | #endif /* HAVE_USBSTACK */ |
237 | int usb_release_exclusive_storage(void); | ||
238 | 237 | ||
239 | #ifdef USB_FIREWIRE_HANDLING | 238 | #ifdef USB_FIREWIRE_HANDLING |
240 | bool firewire_detect(void); | 239 | bool 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; | |||
88 | static bool usb_charging_only = false; | 88 | static bool usb_charging_only = false; |
89 | #endif | 89 | #endif |
90 | 90 | ||
91 | static int usb_release_exclusive_storage(void); | ||
92 | |||
91 | #if defined(USB_FIREWIRE_HANDLING) | 93 | #if defined(USB_FIREWIRE_HANDLING) |
92 | static void try_reboot(void) | 94 | static void try_reboot(void) |
93 | { | 95 | { |