summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts_eeprom.h2
-rw-r--r--io-module/mts_io.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h
index 6295fc4..6356516 100644
--- a/io-module/mts_eeprom.h
+++ b/io-module/mts_eeprom.h
@@ -1,7 +1,9 @@
#ifndef __MTS_EEPROM_H
#define __MTS_EEPROM_H
+#if !__KERNEL__
#include <stdint.h>
+#endif
/* on-board EEPROM */
struct mts_id_eeprom_layout {
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index 757da05..0540434 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -2,8 +2,6 @@
#define __MTS_IO_H
#if !__KERNEL__
-#include <stdint.h>
-
#ifndef BIT
#define BIT(nr) (1UL << (nr))
#endif