浏览代码

Merge branch 'master' of git://git.denx.de/u-boot-mpc82xx

Tom Rini 11 年之前
父节点
当前提交
c02bff3617
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      board/keymile/km82xx/km82xx.c

+ 1 - 4
board/keymile/km82xx/km82xx.c

@@ -31,10 +31,7 @@
 #include <libfdt.h>
 #endif
 
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
 #include <i2c.h>
-#endif
-
 #include "../common/common.h"
 
 /*
@@ -370,7 +367,7 @@ static void set_pin(int state, unsigned long mask);
  * will toggle once what forces the mgocge3un part to restart
  * immediately.
  */
-void handle_mgcoge3un_reset(void)
+static void handle_mgcoge3un_reset(void)
 {
 	char *bobcatreset = getenv("bobcatreset");
 	if (bobcatreset) {