]> git.sur5r.net Git - u-boot/commit
EXYNOS: Resolve the i2c compilation error
authorAmar <amarendra.xt@samsung.com>
Wed, 10 Jul 2013 05:12:29 +0000 (10:42 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 10 Jul 2013 05:20:26 +0000 (14:20 +0900)
commit1ae76d438b602fe8be1f0ef8b8ce47c89d371047
treeb4287314decd2d574f031f112d861efa70f880c7
parente161f60f4df044e1815f4639795fce13f7b3bee3
EXYNOS: Resolve the i2c compilation error

This patch resolves the below mentioned compilation error of i2c driver
for non-FDT case

Compilation error:
s3c24x0_i2c.c: In function 'board_i2c_init':
s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared (first use
in this function) s3c24x0_i2c.c:544:18: note: each undeclared
identifier is reported only once for each function it appears in
s3c24x0_i2c.c:545:3: warning: implicit declaration of function

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Amar <amarendra.xt@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdk5250/smdk5250.c
drivers/i2c/s3c24x0_i2c.c