]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/devices.c
* Vince Husovsky, 7 Nov 2002:
[karo-tx-uboot.git] / common / devices.c
index 8207f834fee014ac4d3a90d0a8c87a31ceaf73d5..7489eac41eccae4904f08b45ffe50b20604e9cf8 100644 (file)
 #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 };