From fb0cddc68ee95d61cd2af4889b18bf3d6ddd01d2 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Thu, 24 Apr 2014 12:52:46 -0500 Subject: mts-io: move definition of BIT() to mts_eeprom.h --- io-module/mts_eeprom.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io-module/mts_eeprom.h') 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 + +#ifndef BIT +#define BIT(nr) (1UL << (nr)) +#endif #endif /* on-board EEPROM */ -- cgit v1.2.3