summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-03-10 09:47:50 -0400
committerTom Rini <trini@ti.com>2013-03-10 09:47:50 -0400
commitc02bff361794cff181bd3eca0ec1edce636f8dd4 (patch)
treeb32c581fd3046824436192029aa3f4c9d6f5e1ed /board
parent5a35831b1f427a91ae06c971c2b3b4d9843372a1 (diff)
parent8327122b0d25a4be29292ff30293f1241bbcfb5b (diff)
Merge branch 'master' of git://git.denx.de/u-boot-mpc82xx
Diffstat (limited to 'board')
-rw-r--r--board/keymile/km82xx/km82xx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c
index defc885db7..f98844d317 100644
--- a/board/keymile/km82xx/km82xx.c
+++ b/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) {