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

2011-05-01 Thread Macpaul Lin
Hi Wolfgang, > 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 Thanks! -- Best regards, Macpaul Lin _

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

2011-05-01 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1304199175-1638-1-git-send-email...@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 inc

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

2011-04-30 Thread Wolfgang Denk
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: Wol