]> git.sur5r.net Git - u-boot/commit
dm: scsi: Split out the bus scanning code
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:45 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit5c56176318c8a602fa78813ac273f16a10278a2d
treee5b96c93ea8ed53607d47ab6ce0438c4246a7a84
parentf6580ef39b332387f84334d238320ce99115af67
dm: scsi: Split out the bus scanning code

Split out the code that scans a single SCSI bus into a separate function.
This will allow it to be used from driver model.

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