From e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Thu, 8 Dec 2011 21:23:53 +0000 Subject: FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change: - ata.h is for users of ata.c - ata-driver.h is for functions implemented by target-specific code and used by ata.c - ata-target.h is for target-specific defines git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31182 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'firmware/drivers') diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 309a155eb6..f567a4bb8a 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -32,7 +32,7 @@ #include "power.h" #include "string.h" #include "ata_idle_notify.h" -#include "ata-target.h" +#include "ata-driver.h" #include "ata-defines.h" #include "storage.h" @@ -240,8 +240,6 @@ STATICIRAM ICODE_ATTR int wait_for_rdy(void) return 0; /* timeout */ } #else -extern int ata_wait_for_bsy(void); -extern int ata_wait_for_rdy(void); #define wait_for_bsy ata_wait_for_bsy #define wait_for_rdy ata_wait_for_rdy #endif @@ -1265,7 +1263,7 @@ static int set_features(void) } } -#ifdef ATA_SET_DEVICE_FEATURES +#ifdef ATA_SET_PIO_TIMING ata_set_pio_timings(pio_mode); #endif -- cgit v1.2.3