summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2i/bnx2i.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-10-13 02:35:28 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-17 04:45:55 +0300
commiteb78ac7a5474b56fa7b71991664843b9e678f8a3 (patch)
treedc8711812abf5a1fdba9bb7b4e2bcc53bb75c9e8 /drivers/scsi/bnx2i/bnx2i.h
parentc3dd11d8ed4de2d79ec26b7d671ec1b7bfbeda0c (diff)
downloadlinux-eb78ac7a5474b56fa7b71991664843b9e678f8a3.tar.xz
scsi: bnx2i: 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-17-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/bnx2i/bnx2i.h')
-rw-r--r--drivers/scsi/bnx2i/bnx2i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i.h b/drivers/scsi/bnx2i/bnx2i.h
index 663a63d4dae4..df7d04afce05 100644
--- a/drivers/scsi/bnx2i/bnx2i.h
+++ b/drivers/scsi/bnx2i/bnx2i.h
@@ -795,7 +795,7 @@ extern struct cnic_ulp_ops bnx2i_cnic_cb;
extern unsigned int sq_size;
extern unsigned int rq_size;
-extern struct device_attribute *bnx2i_dev_attributes[];
+extern const struct attribute_group *bnx2i_dev_groups[];