From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Wed, 10 Jul 2013 20:36:59 +0900 Subject: [U-Boot] [PATCH V2 1/1] EXYNOS: Resolve the i2c compilation error for In-Reply-To: <1373433149-26283-1-git-send-email-amarendra.xt@samsung.com> References: <1373433149-26283-1-git-send-email-amarendra.xt@samsung.com> Message-ID: <51DD475B.9070808@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 10/07/13 14:12, amar_g wrote: > 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 > Signed-off-by: Amar > --- > Changes since V0: > 1) Updated the below in response to review comments > a) Added the prefix 'EXYNOS' to title of the patch. > > Changes since V1: > 1) Updated the below in response to review comments > a) Limited info on "Compilation error" message for 5 lines. > b) Changed the spelling of 'mentiond' to 'mentioned'. > > board/samsung/smdk5250/smdk5250.c | 10 ++++++++++ > drivers/i2c/s3c24x0_i2c.c | 9 +-------- > 2 files changed, 11 insertions(+), 8 deletions(-) > applied to u-boot-samsung. Thanks, Minkyu Kang.