summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-20 03:35:21 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-20 03:35:21 +0000
commit0e71c589e0d95f195f133fdd26b849ce2a91b3b0 (patch)
tree716e6403ad195ac24245de698052c9560b0fe2e5
parent9003dbe5b257990e8141f95b97520090444ef81a (diff)
downloadrockbox-0e71c589e0d95f195f133fdd26b849ce2a91b3b0.tar.gz
rockbox-0e71c589e0d95f195f133fdd26b849ce2a91b3b0.tar.bz2
rockbox-0e71c589e0d95f195f133fdd26b849ce2a91b3b0.zip
Oops, clean up and use usb_drv.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17182 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/usb-imx31.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-imx31.c b/firmware/target/arm/imx31/gigabeat-s/usb-imx31.c
index dae5f46762..7a3ec27ee7 100644
--- a/firmware/target/arm/imx31/gigabeat-s/usb-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/usb-imx31.c
@@ -23,6 +23,7 @@
#include "ata.h"
#include "usb.h"
#include "usb_core.h"
+#include "usb_drv.h"
#include "clkctl-imx31.h"
#include "mc13783.h"
@@ -61,8 +62,6 @@ bool usb_plugged(void)
return mc13783_read(MC13783_INTERRUPT_SENSE0) & MC13783_USB4V4;
}
-extern void usb_drv_startup(void);
-
void usb_init_device(void)
{
imx31_clkctl_module_clock_gating(CG_USBOTG, CGM_ON_ALL);