[U-Boot] [PATCH 11/29] dm: scsi: Drop the ccb typedef

Bin Meng bmeng.cn at gmail.com
Tue Jun 13 03:13:31 UTC 2017


On Tue, Jun 6, 2017 at 3:14 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  common/usb_storage.c        | 44 ++++++++++++++++++++++----------------------
>  drivers/ata/ahci.c          | 12 ++++++------
>  drivers/scsi/sandbox_scsi.c |  2 +-
>  drivers/scsi/scsi.c         | 23 ++++++++++++-----------
>  include/scsi.h              |  6 +++---
>  5 files changed, 44 insertions(+), 43 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list