Skip to contentSkip to conversation

Atari Falcon IDE: Add missing hwif variable

PATCH Applied Geert Uytterhoeven 2 participants 2 messages Jan 27, 2008 – Feb 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Atari Falcon IDE: Add missing hwif variable

Atari Falcon IDE: Add missing hwif variable

Commit cbb010c180294a5242a7681555c28737d9dd26ab

ide: drop 'initializing' argument from ide_register_hw()

* Rename init_hwif_data() to ide_init_port_data() and export it.

* For all users of ide_register_hw() with 'initializing' argument set hwif->present and hwif->hold are always zero so convert these host drivers to use ide_find_port()+ide_init_port_data()+ide_init_port_hw() instead (also no need for init_hwif_default() call since the setup done by it gets over-ridden by ide_init_port_hw() call).

* Drop 'initializing' argument from ide_register_hw().

introduced the usage of a hwif variable, but forgot to declare the actual variable.

Cc Bartlomiej Zolnierkiewicz <[email protected]>
Cc Sergei Shtylyov <[email protected]>
---
 drivers/ide/legacy/falconide.c |    1 +
 1 file changed, 1 insertion(+)
drivers/ide/legacy/falconide.c +1 -0
@@ -66,6 +66,7 @@ static int __init falconide_init(void)
 {
     if (MACH_IS_ATARI && ATARIHW_PRESENT(IDE)) {
 	hw_regs_t hw;
+	ide_hwif_t *hwif;
 
 	printk(KERN_INFO "ide: Falcon IDE controller\n");
 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#1 lore raw
Quoted 14 lines · Geert Uytterhoeven

Atari Falcon IDE: Add missing hwif variable

Commit cbb010c180294a5242a7681555c28737d9dd26ab

ide: drop 'initializing' argument from ide_register_hw()

* Rename init_hwif_data() to ide_init_port_data() and export it.

* For all users of ide_register_hw() with 'initializing' argument set hwif->present and hwif->hold are always zero so convert these host drivers to use ide_find_port()+ide_init_port_data()+ide_init_port_hw() instead (also no need for init_hwif_default() call since the setup done by it gets over-ridden by ide_init_port_hw() call).

Quoted 8 lines

* Drop 'initializing' argument from ide_register_hw().

introduced the usage of a hwif variable, but forgot to declare the actual variable.

Cc Bartlomiej Zolnierkiewicz <[email protected]>
Cc Sergei Shtylyov <[email protected]>

applied, thanks