From 47ce50e8d28a732b581ea86922b9f472f951469b Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Fri, 18 Jan 2013 00:28:16 +0000 Subject: powerpc/82xx/km: make handle_mgcoge3un_reset static Signed-off-by: Holger Brunck --- board/keymile/km82xx/km82xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c index defc885db70..fb77fbcbb23 100644 --- a/board/keymile/km82xx/km82xx.c +++ b/board/keymile/km82xx/km82xx.c @@ -370,7 +370,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) { -- cgit v1.2.3 From 8327122b0d25a4be29292ff30293f1241bbcfb5b Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Fri, 18 Jan 2013 00:28:17 +0000 Subject: powerpc/82xx/km: removed unneeded ifdef All boards from this serie uses i2c. So we can drop these unneeded defines. Signed-off-by: Holger Brunck --- board/keymile/km82xx/km82xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c index fb77fbcbb23..f98844d317d 100644 --- a/board/keymile/km82xx/km82xx.c +++ b/board/keymile/km82xx/km82xx.c @@ -31,10 +31,7 @@ #include #endif -#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C) #include -#endif - #include "../common/common.h" /* -- cgit v1.2.3