diff options
author | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-05-18 07:08:55 +0000 |
---|---|---|
committer | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-05-18 07:08:55 +0000 |
commit | ecdbab95f477170c70981e585d5daa87213cd02c (patch) | |
tree | e07a4b5b9e8805437cedf914fb4310bee307806f /firmware | |
parent | 4a8c05e92f5c58eb8201884a509860ec06a5489d (diff) |
Obviously this should not be built on AS353x...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26128 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c index d6b9c1dfea..9e893f41df 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525.c +++ b/firmware/target/arm/as3525/usb-drv-as3525.c @@ -35,6 +35,8 @@ #include "usb_core.h" #include "string.h" +#if defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525 + #define USB_NUM_EPS 4 typedef struct { @@ -959,3 +961,5 @@ bool usb_drv_stalled(int ep, bool in) { return USB_EP_CTRL(ep, in) & USB_EP_CTRL_STALL ? true : false; } + +#endif |