summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 8ee8225d1b..826e6f3092 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1272,7 +1272,7 @@ static int identify(void)
for (i=0; i<SECTOR_SIZE/2; i++) {
/* the IDENTIFY words are already swapped, so we need to treat
this info differently that normal sector data */
-#if defined(ROCKBOX_IS_BIGENDIAN) && !defined(SWAP_WORDS)
+#if defined(ROCKBOX_BIG_ENDIAN) && !defined(SWAP_WORDS)
#warning Swapping ATA identify data
identify_info[i] = swap16(ATA_DATA);
#else