diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:31 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:31 -0400 |
commit | baa8f3e94bc7a7ba3650d80b67d54c3e08365dee (patch) | |
tree | caabf63904cd62f758535e16dcc4676ba3ae5095 /include/linux/ide.h | |
parent | 8447d9d52adbe4c653482bd0d5ccb9b5d26f9c9d (diff) |
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>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 7212fe417726..9e1cf757b916 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -223,6 +223,8 @@ typedef struct hw_regs_s { | |||
223 | struct device *dev; | 223 | struct device *dev; |
224 | } hw_regs_t; | 224 | } hw_regs_t; |
225 | 225 | ||
226 | struct hwif_s * ide_find_port(unsigned long); | ||
227 | |||
226 | int ide_register_hw(hw_regs_t *, void (*)(struct hwif_s *), int, | 228 | int ide_register_hw(hw_regs_t *, void (*)(struct hwif_s *), int, |
227 | struct hwif_s **); | 229 | struct hwif_s **); |
228 | 230 | ||