commit | e0d0020788543febd10ab933bde0fa181b627f4f | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jul 23 19:55:57 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jul 23 19:55:57 2008 +0200 |
tree | 939f6d15075cda41d0efdc4c4e3b569e480ceedf | |
parent | 6f904d015262dfa43eb1cecc00b0998b4c3543f2 [diff] |
ide: fix ide_host_register() return value Fix ide_host_register() to fail only if all ports cannot be registered. While at it: * Use host->ports[] instead of ide_hwifs[] and remove idx[]. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>