From: Wolfgang Denk Date: Sun, 01 May 2011 16:05:10 +0200 Subject: [U-Boot] [PATCH] IDE: fix compiler warnings In-Reply-To: <1304199175-1638-1-git-send-email-wd@denx.de> References: <1302590733-23912-1-git-send-email-macpaul@andestech.com> <1304199175-1638-1-git-send-email-wd@denx.de> Message-ID: <20110501140510.9CC09FA8D3@gemini.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 Dear Wolfgang Denk, In message <1304199175-1638-1-git-send-email-wd@denx.de> you wrote: > The changes introduced by commit 0abddf8 ``cmd_ide: enhance new > feature "CONFIG_IDE_AHB"'' caused compiler warnings like > > cmd_ide.c: In function 'ide_init': > cmd_ide.c:716: warning: assignment from incompatible pointer type > > Constify the respective function arguments to fix this. > > Signed-off-by: Wolfgang Denk > --- > common/cmd_ide.c | 8 ++++---- > include/ide.h | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) Applied. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de One essential to success is that you desire be an all-obsessing one, your thoughts and aims be co-ordinated, and your energy be concentra- ted and applied without letup.