summaryrefslogtreecommitdiff
path: root/io-module/mts_eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts_eeprom.h')
-rw-r--r--io-module/mts_eeprom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h
index 6356516..d6c3bd3 100644
--- a/io-module/mts_eeprom.h
+++ b/io-module/mts_eeprom.h
@@ -3,6 +3,10 @@
#if !__KERNEL__
#include <stdint.h>
+
+#ifndef BIT
+#define BIT(nr) (1UL << (nr))
+#endif
#endif
/* on-board EEPROM */