summaryrefslogtreecommitdiff
path: root/common/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/devices.c')
-rw-r--r--common/devices.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/devices.c b/common/devices.c
index 8207f83..7489eac 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -26,7 +26,12 @@
#include <stdarg.h>
#include <malloc.h>
#include <devices.h>
+#ifdef CONFIG_LOGBUFFER
+#include <logbuff.h>
+#endif
+#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
#include <i2c.h>
+#endif
list_t devlist = 0;
device_t *stdio_devices[] = { NULL, NULL, NULL };