mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
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:
parent
8447d9d52a
commit
baa8f3e94b
5 changed files with 38 additions and 62 deletions
|
@ -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 **);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue