| Submitter | Holger Brunck |
|---|---|
| Date | Jan. 21, 2013, 1:55 p.m. |
| Message ID | <1358776528-27254-1-git-send-email-holger.brunck@keymile.com> |
| Download | mbox | patch |
| Permalink | /patch/214167/ |
| State | Awaiting Upstream |
| Delegated to: | Kim Phillips |
| Headers | show |
Comments
On Mon, 21 Jan 2013 14:55:13 +0100 Holger Brunck <holger.brunck@keymile.com> wrote: > All boards from this serie use i2c. There is no need to #ifdef the > header. > > Signed-off-by: Holger Brunck <holger.brunck@keymile.com> > --- applied 16 out of 16 patches. Thanks, Kim
Patch
diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 6f407b7..468c755 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -38,9 +38,7 @@ #include "post.h" #endif #include "common.h" -#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C) #include <i2c.h> -#endif #if !defined(CONFIG_MPC83xx) static void i2c_write_start_seq(void);
All boards from this serie use i2c. There is no need to #ifdef the header. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> --- Changes for v2: - fix typo in commit message board/keymile/common/common.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)