summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qedi/qedi_iscsi.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-10-13 01:35:50 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-17 03:45:58 +0200
commit1ebbd3b1d9a7294d16a34c24ef32e78d74d1c323 (patch)
tree1ce9958225cf8df62055d99faf0fd2a521d2907c /drivers/scsi/qedi/qedi_iscsi.c
parentscsi: qedf: Switch to attribute groups (diff)
downloadlinux-1ebbd3b1d9a7294d16a34c24ef32e78d74d1c323.tar.xz
linux-1ebbd3b1d9a7294d16a34c24ef32e78d74d1c323.zip
scsi: qedi: Switch to attribute groups
struct device supports attribute groups directly but does not support struct device_attribute directly. Hence switch to attribute groups. Link: https://lore.kernel.org/r/20211012233558.4066756-39-bvanassche@acm.org Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi/qedi_iscsi.c')
-rw-r--r--drivers/scsi/qedi/qedi_iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qedi/qedi_iscsi.c b/drivers/scsi/qedi/qedi_iscsi.c
index c5260429c637..88aa7d8b11c9 100644
--- a/drivers/scsi/qedi/qedi_iscsi.c
+++ b/drivers/scsi/qedi/qedi_iscsi.c
@@ -58,7 +58,7 @@ struct scsi_host_template qedi_host_template = {
.max_sectors = 0xffff,
.dma_boundary = QEDI_HW_DMA_BOUNDARY,
.cmd_per_lun = 128,
- .shost_attrs = qedi_shost_attrs,
+ .shost_groups = qedi_shost_groups,
};
static void qedi_conn_free_login_resources(struct qedi_ctx *qedi,