commit | 08da591e14cf87247ec09b17c350235157a92fc3 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Thu Jul 24 22:53:15 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Thu Jul 24 22:53:15 2008 +0200 |
tree | d00a02154071c7013c31bc8dd1d3c12c86d5daca | |
parent | 6cdf6eb357c2681596b7b1672b92396ba82333d4 [diff] |
ide: add ide_device_{get,put}() helpers * Add 'struct ide_host *host' field to ide_hwif_t and set it in ide_host_alloc_all(). * Add ide_device_{get,put}() helpers loosely based on SCSI's scsi_device_{get,put}() ones. * Convert IDE device drivers to use ide_device_{get,put}(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>