diff options
-rw-r--r-- | io-module/mts_eeprom.h | 4 | ||||
-rw-r--r-- | io-module/mts_io.h | 6 |
2 files changed, 4 insertions, 6 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 */ diff --git a/io-module/mts_io.h b/io-module/mts_io.h index 0540434..ad82b2a 100644 --- a/io-module/mts_io.h +++ b/io-module/mts_io.h @@ -1,12 +1,6 @@ #ifndef __MTS_IO_H #define __MTS_IO_H -#if !__KERNEL__ -#ifndef BIT -#define BIT(nr) (1UL << (nr)) -#endif -#endif - #include "mts_eeprom.h" #include <linux/gpio.h> |