From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 17 Oct 2013 08:27:48 +0200 Subject: [U-Boot] [U-Boot, 1/3] i2c: eliminate warnings in i2c_reloc_fixup function In-Reply-To: <1381899184-23315-2-git-send-email-yamada.m@jp.panasonic.com> References: <1381899184-23315-2-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <525F8364.70506@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Masahiro, Am 16.10.2013 06:53, schrieb Masahiro Yamada: > The prototype of handlers had changed. > This commit uses cast with (void *) rather than > the handler-specific prototype. > > Signed-off-by: Masahiro Yamada > > --- > Note: > The body of i2c_reloc_fixup function is surrounded by > #if defined(CONFIG_NEEDS_MANUAL_RELOC) ... #endif > > avr32, m68k, nds32, sparc defines this macro. > > > drivers/i2c/i2c_core.c | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) Applied to u-boot-i2c.git Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany