]> git.sur5r.net Git - u-boot/commit
dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset()
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:40 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit4682c8a19b4eb69f7ad51df3f543375583ce878a
tree09ea9daa3d0f8737086c5659fb4f1428e20d235a
parent322f73f473d921dbdd0fe11bd62db6a00e5b133c
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>
arch/arm/mach-omap2/sata.c
cmd/scsi.c
drivers/ata/ahci.c
drivers/scsi/sandbox_scsi.c
drivers/scsi/scsi.c
include/scsi.h