This name should be lower case. Also the _block suffix is superfluous.
Rename it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
struct sandbox_flash_priv *priv, const void *buff,
int len)
{
- const struct SCSI_cmd_block *req = buff;
+ const struct scsi_cmd *req = buff;
switch (*req->cmd) {
case SCSI_INQUIRY: {
#ifndef _SCSI_H
#define _SCSI_H
-typedef struct SCSI_cmd_block{
+typedef struct scsi_cmd{
unsigned char cmd[16]; /* command */
/* for request sense */
unsigned char sense_buf[64]