• Bartlomiej Zolnierkiewicz's avatar
    bast-ide: build fix · 7b56a937
    Bartlomiej Zolnierkiewicz authored
    On Saturday 09 February 2008, Adrian Bunk wrote:
    > Commit 9e016a71 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: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    7b56a937
bast-ide.c 1.78 KB