[U-Boot] [PATCH] IDE: fix compiler warnings

Wolfgang Denk wd at denx.de
Sun May 1 16:05:10 CEST 2011


Dear Wolfgang Denk,

In message <1304199175-1638-1-git-send-email-wd at 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 <wd at denx.de>
> ---
>  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.


More information about the U-Boot mailing list