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/target/arm/archos/av300/ata-av300.c | 2 +- firmware/target/arm/archos/av300/ata-target.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware/target/arm/archos') diff --git a/firmware/target/arm/archos/av300/ata-av300.c b/firmware/target/arm/archos/av300/ata-av300.c index 08bee15fe6..e8623e5f16 100644 --- a/firmware/target/arm/archos/av300/ata-av300.c +++ b/firmware/target/arm/archos/av300/ata-av300.c @@ -30,7 +30,7 @@ #include #include "system.h" -#include "ata-target.h" +#include "ata-driver.h" void ata_reset() { diff --git a/firmware/target/arm/archos/av300/ata-target.h b/firmware/target/arm/archos/av300/ata-target.h index bc3a19a6b4..5732f17045 100644 --- a/firmware/target/arm/archos/av300/ata-target.h +++ b/firmware/target/arm/archos/av300/ata-target.h @@ -19,6 +19,9 @@ * ****************************************************************************/ +#ifndef ATA_TARGET_H +#define ATA_TARGET_H + /* Plain C read & write loops */ #define ATA_IOBASE 0x02400000 @@ -33,7 +36,4 @@ #define ATA_CONTROL (*((volatile unsigned char*)(ATA_IOBASE + 0x340))) #define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE + 0x380))) -void ata_reset(void); -void ata_enable(bool on); -bool ata_is_coldstart(void); -void ata_device_init(void); +#endif /* ATA_TARGET_H */ -- cgit v1.2.3