diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-10-12 16:35:17 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-16 21:45:53 -0400 |
commit | 2899836f9430664d5eab9f0b08f964b975dfc230 (patch) | |
tree | 3ef982f6553f84b296f59bf8222ee932b5df1df2 /drivers/message/fusion/mptspi.c | |
parent | a3cf94c96ede60710e6f453620ccf529d7540c84 (diff) | |
download | linux-stable-2899836f9430664d5eab9f0b08f964b975dfc230.tar.gz linux-stable-2899836f9430664d5eab9f0b08f964b975dfc230.tar.bz2 linux-stable-2899836f9430664d5eab9f0b08f964b975dfc230.zip |
scsi: message: fusion: 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-6-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/message/fusion/mptspi.c')
-rw-r--r-- | drivers/message/fusion/mptspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c index 44b7ce124ae1..acd4805dcf83 100644 --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c @@ -843,7 +843,7 @@ static struct scsi_host_template mptspi_driver_template = { .sg_tablesize = MPT_SCSI_SG_DEPTH, .max_sectors = 8192, .cmd_per_lun = 7, - .shost_attrs = mptscsih_host_attrs, + .shost_groups = mptscsih_host_attr_groups, }; static int mptspi_write_spi_device_pg1(struct scsi_target *starget, |