From 604447c47513c5a819068a57b6d2ecb77c70ea4d Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 28 Jun 2008 19:36:21 +0000 Subject: [PATCH] Moved microsd_int declaration from system-pp502x.c to ata-sd-target.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17855 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/ata-sd-target.h | 2 ++ firmware/target/arm/system-pp502x.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/target/arm/ata-sd-target.h b/firmware/target/arm/ata-sd-target.h index b11d595ed9..b2ac6e2a57 100644 --- a/firmware/target/arm/ata-sd-target.h +++ b/firmware/target/arm/ata-sd-target.h @@ -22,6 +22,7 @@ #define ATA_SD_TARGET_H #include "inttypes.h" +#include "hotswap.h" typedef struct { @@ -45,6 +46,7 @@ bool card_detect_target(void); #ifdef HAVE_HOTSWAP void card_enable_monitoring_target(bool on); +void microsd_int(void); #endif #endif diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index bf49593f45..44a90637d4 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c @@ -23,6 +23,7 @@ #include "i2s.h" #include "i2c-pp.h" #include "as3514.h" +#include "ata-sd-target.h" #ifdef HAVE_USBSTACK #include "usb_drv.h" #endif @@ -32,7 +33,6 @@ extern void TIMER1(void); extern void TIMER2(void); extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */ extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */ -extern void microsd_int(void); /* Sansa E200 and C200 */ #ifdef SANSA_E200 extern void button_int(void); extern void clickwheel_int(void);