diff options
author | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-03-23 11:13:17 +0000 |
---|---|---|
committer | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-03-23 11:13:17 +0000 |
commit | c4e4ffb5418afce2602a2310747676647ee04ddf (patch) | |
tree | 3e26d05e501bdf1c6d4ea5ed6f7013968226fd59 /firmware/target/arm/as3525/usb-target.h | |
parent | f5988d4fbd7150e59f0ea9e4f3f0bd61bbcb0bf9 (diff) | |
download | rockbox-c4e4ffb5418afce2602a2310747676647ee04ddf.tar.gz rockbox-c4e4ffb5418afce2602a2310747676647ee04ddf.zip |
Limit AUDIO_IRQ handling to AS3525, since it doesn't work on the newer SoC in SANSA_CLIPPLUS yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25305 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/usb-target.h')
-rw-r--r-- | firmware/target/arm/as3525/usb-target.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-target.h b/firmware/target/arm/as3525/usb-target.h index 55a7d87857..4c54dc182d 100644 --- a/firmware/target/arm/as3525/usb-target.h +++ b/firmware/target/arm/as3525/usb-target.h | |||
@@ -22,8 +22,10 @@ | |||
22 | #define USB_TARGET_H | 22 | #define USB_TARGET_H |
23 | 23 | ||
24 | void usb_init_device(void); | 24 | void usb_init_device(void); |
25 | int usb_detect(void); | ||
26 | #if CONFIG_CPU == AS3525 | ||
25 | void usb_insert_int(void); | 27 | void usb_insert_int(void); |
26 | void usb_remove_int(void); | 28 | void usb_remove_int(void); |
27 | int usb_detect(void); | 29 | #endif /* CONFIG_CPU == AS3525 */ |
28 | 30 | ||
29 | #endif | 31 | #endif /* USB_TARGET_H */ |