From c4e4ffb5418afce2602a2310747676647ee04ddf Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Tue, 23 Mar 2010 11:13:17 +0000 Subject: 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 --- firmware/target/arm/as3525/usb-target.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/as3525/usb-target.h') 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 @@ #define USB_TARGET_H void usb_init_device(void); +int usb_detect(void); +#if CONFIG_CPU == AS3525 void usb_insert_int(void); void usb_remove_int(void); -int usb_detect(void); +#endif /* CONFIG_CPU == AS3525 */ -#endif +#endif /* USB_TARGET_H */ -- cgit v1.2.3