瀏覽代碼

soft_i2c: add necessary includes for AVR32

Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Andreas Bießmann 14 年之前
父節點
當前提交
eabd5d8d70
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      drivers/i2c/soft_i2c.c

+ 3 - 0
drivers/i2c/soft_i2c.c

@@ -30,6 +30,9 @@
 #include <ioports.h>
 #include <ioports.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #endif
 #endif
+#if defined(CONFIG_AVR32)
+#include <asm/arch/portmux.h>
+#endif
 #if defined(CONFIG_AT91FAMILY)
 #if defined(CONFIG_AT91FAMILY)
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/hardware.h>