]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hisi_sas: Remove dependency on of_irq_count
authorJohn Garry <john.garry@huawei.com>
Thu, 19 Nov 2015 12:23:59 +0000 (20:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:13:09 +0000 (22:13 -0500)
commit8c77dca011125b795bfa1c86f85a80132feee578
tree9afa810b29d40c338380a3f30b8a6cf4e97e3fef
parent16c6c252f0ac8256e38d36a3de7c59d5d27efdc3
hisi_sas: Remove dependency on of_irq_count

Originally the driver would use of_irq_count to calculate how much
memory is required for storing the interrupt names, since the number of
interrupt sources for the controller is variable.  Since of_irq_count
cannot be used by the driver, use fixed names.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c