]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: scsi: Add operations for SCSI devices
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:43 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commitf6ab5a92acc78371fc088075b64bd394d1f0d45f
treea3f3ebb2d9eddd7f7009adbc4cc01abf5c63c787
parent4e7490145800ea8da5f67a4fbaa66caab7689ce3
dm: scsi: Add operations for SCSI devices

The SCSI uclass currently has no operations. It just uses the global SCSI
functions. Fix this by adding operations to the only two drivers that use
the uclass, and replacing the global functions with those defined locally
in the SCSI code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/ata/ahci.c
drivers/ata/dwc_ahci.c
drivers/ata/sata_ceva.c
drivers/scsi/scsi-uclass.c
include/scsi.h