1
0
Fork 0
alistair23-linux/drivers/ide/arm
Bartlomiej Zolnierkiewicz 7b56a937a1 bast-ide: build fix
On Saturday 09 February 2008, Adrian Bunk wrote:
> Commit 9e016a7192 causes the following 
> compile error:
> 
> <--  snip  -->
> 
> ...
>   CC      drivers/ide/arm/bast-ide.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c: In function 'bastide_register':
> /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c:31: error: 'hwif' redeclared as different kind of symbol
> /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/arm/bast-ide.c:29: error: previous definition of 'hwif' was here
> make[4]: *** [drivers/ide/arm/bast-ide.o] Error 1
> 
> <--  snip  -->

Remove 'ide_hwif_t **hwif' argument from bastide_register()
(together with write-only ifs[]).

Cc: Adrian Bunk <bunk@kernel.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-11 00:32:14 +01:00
..
Makefile Palmchip BK3710 IDE driver 2008-02-06 02:57:48 +01:00
bast-ide.c bast-ide: build fix 2008-02-11 00:32:14 +01:00
icside.c ide: add ide_read_[alt]status() inline helpers 2008-02-06 02:57:51 +01:00
ide_arm.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
palm_bk3710.c palm_bk3710: use struct ide_port_info 2008-02-11 00:32:13 +01:00
rapide.c ide: fix ide_unregister() usage in host drivers 2008-02-02 19:56:39 +01:00