From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Mon, 14 Jan 2013 19:22:15 +0900 Subject: [U-Boot] [PATCH V2] I2C: S3C24X0: Resolve build error for VCMA9 In-Reply-To: <1358142576-1957-1-git-send-email-rajeshwari.s@samsung.com> References: <712aayush@samsung.com> <1358142576-1957-1-git-send-email-rajeshwari.s@samsung.com> Message-ID: <50F3DC57.3050509@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14/01/13 14:49, Rajeshwari Shinde wrote: > This patch resolves the following build errors for I2C driver in > VCMA9: > > In file included from s3c24x0_i2c.c:40:0: > s3c24x0_i2c.h:38:17: error: field 'id' has incomplete type > s3c24x0_i2c.c:70:39: error: 'CONFIG_MAX_I2C_NUM' undeclared here (not > in a function) s3c24x0_i2c.c:70:31: warning: 'i2c_bus' defined but > not used [-Wunused-variable] s3c24x0_i2c.c:72:12: warning: > 'i2c_busses' defined but not used [-Wunused-variable] > > Signed-off-by: Rajeshwari Shinde > --- > Changes since V1: > - Changes the commit message to add the errors. > - changed enum periph_id to int > drivers/i2c/s3c24x0_i2c.c | 4 +++- > drivers/i2c/s3c24x0_i2c.h | 3 +-- > 2 files changed, 4 insertions(+), 3 deletions(-) > applied to u-boot-samsung. Thanks, Minkyu Kang.