summaryrefslogtreecommitdiff
path: root/drivers/scsi/sandbox_scsi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-15 03:28:30 (GMT)
committerSimon Glass <sjg@chromium.org>2017-07-11 16:08:19 (GMT)
commitb9560ad649b8c523bf303cf9ba981e498988c5d9 (patch)
treee7a69f35e2bcc5175427d827aeaf4d26a7be544a /drivers/scsi/sandbox_scsi.c
parentaae5ec34032610f2144542fd1b30b6a5cc559d79 (diff)
downloadu-boot-fsl-qoriq-b9560ad649b8c523bf303cf9ba981e498988c5d9.tar.xz
dm: scsi: Drop the ccb typedef
We should not be using typedefs in U-Boot and 'ccb' is a pretty short name. It is also used with variables. Drop the typedef and use 'struct' instead. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/scsi/sandbox_scsi.c')
-rw-r--r--drivers/scsi/sandbox_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sandbox_scsi.c b/drivers/scsi/sandbox_scsi.c
index f4004a3..d943d1f 100644
--- a/drivers/scsi/sandbox_scsi.c
+++ b/drivers/scsi/sandbox_scsi.c
@@ -19,7 +19,7 @@ void scsi_init(void)
{
}
-int scsi_exec(ccb *pccb)
+int scsi_exec(struct scsi_cmd *pccb)
{
return 0;
}