From 340fcd66ccd90b78763b76555eb0576be86fe1d1 Mon Sep 17 00:00:00 2001 From: Stefan Roese <sr@denx.de> Date: Fri, 16 Sep 2016 15:07:50 +0200 Subject: [PATCH] i2c: mv_i2c.c: Remove CONFIG_HARD_I2C CONFIG_HARD_I2C is not needed, lets remove it. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Nadav Haklai <nadavh@marvell.com> Cc: Kostya Porotchkin <kostap@marvell.com> Cc: Wilson Ding <dingwei@marvell.com> Cc: Victor Gu <xigu@marvell.com> Cc: Hua Jing <jinghua@marvell.com> Cc: Terry Zhou <bjzhou@marvell.com> Cc: Hanna Hawa <hannah@marvell.com> Cc: Haim Boot <hayim@marvell.com> Cc: Heiko Schocher <hs@denx.de> --- drivers/i2c/mv_i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c index 0877c51c6c..36482d5af3 100644 --- a/drivers/i2c/mv_i2c.c +++ b/drivers/i2c/mv_i2c.c @@ -20,7 +20,6 @@ #include <common.h> #include <asm/io.h> -#ifdef CONFIG_HARD_I2C #include <i2c.h> #include "mv_i2c.h" @@ -468,4 +467,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len) return 0; } -#endif /* CONFIG_HARD_I2C */ -- 2.39.5