[PATCH] libata: add dev->ap
authorTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:57:51 +0000 (20:57 +0900)
committerTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:57:51 +0000 (20:57 +0900)
commit38d87234d6c47ca487fc6344100323d5adc6f32c
tree5136dc203543954ab8340988c3a18fcec39bf533
parenta0ab51cefc95cb7756c4914603fea2b1a0f813c5
[PATCH] libata: add dev->ap

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: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-core.c
include/linux/libata.h