• Tejun Heo's avatar
    [PATCH] libata: add dev->ap · 38d87234
    Tejun Heo authored
    Add dev->ap which points back to the port the device belongs to.  This
    makes it unnecessary to pass @ap for silly reasons (e.g. printks).
    Also, this change is necessary to accomodate later PM support which
    will introduce ATA link inbetween port and device.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    38d87234
libata-core.c 126 KB