diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.cbus types are good to set it at a bus level so you don't have to
b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
index 342d75f12051..5172af77a3f0 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
@@ -3636,6 +3636,7 @@ static struct platform_driver hisi_sas_v2_driver = {
.name = DRV_NAME,
.of_match_table = sas_v2_of_match,
.acpi_match_table = ACPI_PTR(sas_v2_acpi_match),
+ .irq_get_affinity_mask = hisi_sas_v2_get_affinity_mask,
},
};
If no one objects, I go ahead and add the callback to structI'd wait for Christoph and Greg to both agree. I was just wondering why we
device_driver.
use bus_type.
explicitly set it at each-and-every-driver. Depends on what you want
this to be, if it is a "all drivers of this bus type will have the same
callback" then put it on the bus. otherwise if you are going to
mix/match on a same bus, then put it in the driver structure.