-
- Downloads
dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset()
With driver model these functions need a device pointer. Add one even when CONFIG_DM_SCSI is not defined. This avoids having ugly conditional function prototypes, When CONFIG_DM_SCSI is not defined we can just ignore the pointer. Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
Showing
- arch/arm/mach-omap2/sata.c 3 additions, 1 deletionarch/arm/mach-omap2/sata.c
- cmd/scsi.c 1 addition, 1 deletioncmd/scsi.c
- drivers/ata/ahci.c 12 additions, 3 deletionsdrivers/ata/ahci.c
- drivers/scsi/sandbox_scsi.c 3 additions, 2 deletionsdrivers/scsi/sandbox_scsi.c
- drivers/scsi/scsi.c 19 additions, 12 deletionsdrivers/scsi/scsi.c
- include/scsi.h 2 additions, 2 deletionsinclude/scsi.h
Please register or sign in to comment