On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <s...@chromium.org> wrote: > 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 <s...@chromium.org> > --- > > arch/arm/mach-omap2/sata.c | 4 +++- > cmd/scsi.c | 2 +- > drivers/ata/ahci.c | 13 ++++++++++--- > drivers/scsi/sandbox_scsi.c | 5 +++-- > drivers/scsi/scsi.c | 31 +++++++++++++++++++------------ > include/scsi.h | 4 ++-- > 6 files changed, 38 insertions(+), 21 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot