]> git.sur5r.net Git - u-boot/commit
IDE: fix compiler warnings
authorWolfgang Denk <wd@denx.de>
Sat, 30 Apr 2011 21:29:55 +0000 (23:29 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 30 Apr 2011 21:29:55 +0000 (23:29 +0200)
commit96d04c3150ae9284500aef48803d7d132968f2b2
tree4923657591fd5a97e0acd72930daadb9aa8f25e2
parenta621b167baa62871f6b1b10020c230905a8f832c
IDE: fix compiler warnings

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@denx.de>
common/cmd_ide.c
include/ide.h