aboutsummaryrefslogtreecommitdiffstats
path: root/atavia.c
diff options
context:
space:
mode:
Diffstat (limited to 'atavia.c')
-rw-r--r--atavia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atavia.c b/atavia.c
index e8bc9454..630bfb09 100644
--- a/atavia.c
+++ b/atavia.c
@@ -46,7 +46,7 @@
/* Select the byte we want to access. This is done by clearing the bit corresponding to the byte we want to
* access, leaving the others set (yes, really). */
#define ENABLE_BYTE(address) ((~(1 << ((address) & 3))) & BROM_BYTE_ENABLE_MASK)
-#define BYTE_OFFSET(address) (((addr) & 3) * 8)
+#define BYTE_OFFSET(address) (((address) & 3) * 8)
static const struct dev_entry ata_via[] = {
{PCI_VENDOR_ID_VIA, 0x3249, DEP, "VIA", "VT6421A"},