-
- Downloads
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>
Showing
- drivers/ata/ahci.c 7 additions, 0 deletionsdrivers/ata/ahci.c
- drivers/ata/dwc_ahci.c 1 addition, 0 deletionsdrivers/ata/dwc_ahci.c
- drivers/ata/sata_ceva.c 1 addition, 0 deletionsdrivers/ata/sata_ceva.c
- drivers/scsi/scsi-uclass.c 20 additions, 0 deletionsdrivers/scsi/scsi-uclass.c
- include/scsi.h 23 additions, 5 deletionsinclude/scsi.h
Please register or sign in to comment