From 3aebdfa6424fac99a4d1b7e09161f203c005cda5 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 2 Jan 2015 22:48:01 +0100 Subject: usb: make usb_release_exclusive_storage private Change-Id: I0383760b7d8e67cc99bbe4e4979bca92ef436c8d Reviewed-on: http://gerrit.rockbox.org/1098 Reviewed-by: Amaury Pouly --- firmware/export/usb.h | 1 - firmware/usb.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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); /* returns whether exclusive storage is available for USB */ bool usb_exclusive_storage(void); #endif /* HAVE_USBSTACK */ -int usb_release_exclusive_storage(void); #ifdef USB_FIREWIRE_HANDLING 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; static bool usb_charging_only = false; #endif +static int usb_release_exclusive_storage(void); + #if defined(USB_FIREWIRE_HANDLING) static void try_reboot(void) { -- cgit v1.2.3