aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/ahci.h
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2024-04-09 16:37:45 +0200
committerGravatar Martin K. Petersen <martin.petersen@oracle.com> 2024-04-11 21:37:50 -0400
commita25a9c85d17fd2f19bd5a2bb25b8361d72336bc7 (patch)
tree7278a2e81b6d3d82a824ec1aeb47dee9dd0f505c /drivers/ata/ahci.h
parentscsi: pata_macio: Switch to using ->device_configure (diff)
downloadlinux-a25a9c85d17fd2f19bd5a2bb25b8361d72336bc7.tar.gz
linux-a25a9c85d17fd2f19bd5a2bb25b8361d72336bc7.tar.bz2
linux-a25a9c85d17fd2f19bd5a2bb25b8361d72336bc7.zip
scsi: libata: Switch to using ->device_configure
Switch to the ->device_configure method instead of ->slave_configure and update the block limits on the passed in queue_limits instead of using the per-limit accessors. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240409143748.980206-21-hch@lst.de Reviewed-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r--drivers/ata/ahci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index 344c87210d8f..8f40f75ba08c 100644
--- a/drivers/ata/ahci.h
+++ b/drivers/ata/ahci.h
@@ -397,7 +397,7 @@ extern const struct attribute_group *ahci_sdev_groups[];
.sdev_groups = ahci_sdev_groups, \
.change_queue_depth = ata_scsi_change_queue_depth, \
.tag_alloc_policy = BLK_TAG_ALLOC_RR, \
- .slave_configure = ata_scsi_slave_config
+ .device_configure = ata_scsi_device_configure
extern struct ata_port_operations ahci_ops;
extern struct ata_port_operations ahci_platform_ops;