diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-04-24 12:52:46 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-04-24 12:52:46 -0500 |
commit | fb0cddc68ee95d61cd2af4889b18bf3d6ddd01d2 (patch) | |
tree | 5119be0b92a979d330562bb33b9c0a8a65362758 /io-module/mts_eeprom.h | |
parent | f8f7b9f52873e561c271fca183e7950b654856ea (diff) | |
download | mts-io-fb0cddc68ee95d61cd2af4889b18bf3d6ddd01d2.tar.gz mts-io-fb0cddc68ee95d61cd2af4889b18bf3d6ddd01d2.tar.bz2 mts-io-fb0cddc68ee95d61cd2af4889b18bf3d6ddd01d2.zip |
mts-io: move definition of BIT() to mts_eeprom.h
Diffstat (limited to 'io-module/mts_eeprom.h')
-rw-r--r-- | io-module/mts_eeprom.h | 4 |
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 */ |