ata: ahci-pci: Use scsi_ops to initialize ops
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Fri, 4 Jun 2021 09:43:23 +0000 (18:43 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jul 2021 18:07:36 +0000 (14:07 -0400)
commitada6894febd02c7154bafbb3a08fb775b071e40c
tree2a96d90f44215715308f48de46295e861b4afd3b
parent9fe79ca0ac3469a00a7d7fba94155758e2ac2cdf
ata: ahci-pci: Use scsi_ops to initialize ops

Without this fix, scsi-scan will cause a synchronous abort
when accessing ops->scan.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/ata/ahci-pci.c