ide: add ide_find_port() helper

* Add ide_find_port() helper.

* Convert icside, rapide and ide_platform host drivers to use it.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2007-10-20 00:32:31 +02:00
parent 8447d9d52a
commit baa8f3e94b
5 changed files with 38 additions and 62 deletions

View file

@ -223,6 +223,8 @@ typedef struct hw_regs_s {
struct device *dev;
} hw_regs_t;
struct hwif_s * ide_find_port(unsigned long);
int ide_register_hw(hw_regs_t *, void (*)(struct hwif_s *), int,
struct hwif_s **);