[PATCH] libata: Remove dependence on host_set->dev for SAS
Remove some of the dependence on the host_set struct in preparation for supporting SAS HBAs. Adds a struct device pointer to the ata_port struct. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
2af10a818d
commit
2f1f610b62
2 changed files with 8 additions and 6 deletions
|
@ -400,6 +400,7 @@ struct ata_port {
|
|||
|
||||
struct ata_host_stats stats;
|
||||
struct ata_host_set *host_set;
|
||||
struct device *dev;
|
||||
|
||||
struct work_struct port_task;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue