summaryrefslogtreecommitdiff
path: root/drivers/cs8900.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cs8900.h')
-rw-r--r--drivers/cs8900.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cs8900.h b/drivers/cs8900.h
index d772cad..f886d10 100644
--- a/drivers/cs8900.h
+++ b/drivers/cs8900.h
@@ -47,7 +47,7 @@
#define CS8900_OFF 0x02
#define CS8900_BUS16_0 *(volatile u8 *)(CS8900_BASE+0x00)
#define CS8900_BUS16_1 *(volatile u8 *)(CS8900_BASE+0x01)
-#elif CS8900_BUS32
+#elif defined(CS8900_BUS32)
/* 32 bit aligned registers, 16 bit wide (we ignore upper 16 bits) */
#define CS8900_REG u32
#define CS8900_OFF 0x04