M68k kill ide_ioreg_t
PATCH 1/1 M68k kill ide_ioreg_t
M68k IDE: kill ide_ioreg_t and q40ide_ioreg_t
include/asm-m68k/hdreg.h +0 -2
@@ -7,7 +7,5 @@#ifndef _M68K_HDREG_H#define _M68K_HDREG_H -typedef unsigned int q40ide_ioreg_t ; -typedef unsigned char *ide_ioreg_t ;#endif /* _M68K_HDREG_H */
include/asm-m68k/ide.h +5 -3
@@ -51,12 +51,12 @@#endif -static __inline__int ide_default_irq (ide_ioreg_t base) +static __inline__int ide_default_irq (unsigned long base) {return 0 ; } -static __inline__ide_ioreg_t ide_default_io_base (int index) +static __inline__unsigned long ide_default_io_base (int index) {return 0 ; }
@@ -66,7 +66,9 @@* Set up a hw structure for a specified data port, control port and IRQ. * This should follow whatever the default interface uses. */ -static __inline__void ide_init_hwif_ports (hw_regs_t *hw,ide_ioreg_t data_port,ide_ioreg_t ctrl_port,int *irq) +static __inline__void ide_init_hwif_ports (hw_regs_t *hw, +unsigned long data_port, +unsigned long ctrl_port,int *irq) {if (data_port || ctrl_port)printk ("ide_init_hwif_ports: must not be called\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