commit | 11b2b627521a8582ab0ea031e4f33fdbc8915b91 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 14 21:28:40 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 11 10:08:19 2017 -0600 |
tree | 09ea9daa3d0f8737086c5659fb4f1428e20d235a | |
parent | 28aa974ace158f3e86dcdedef9bcfe1a4ec2e127 [diff] |
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>