mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
dm: scsi: Rename struct SCSI_cmd_block to struct scsi_cmd
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>
This commit is contained in:
@@ -244,7 +244,7 @@ static int handle_ufi_command(struct sandbox_flash_plat *plat,
|
|||||||
struct sandbox_flash_priv *priv, const void *buff,
|
struct sandbox_flash_priv *priv, const void *buff,
|
||||||
int len)
|
int len)
|
||||||
{
|
{
|
||||||
const struct SCSI_cmd_block *req = buff;
|
const struct scsi_cmd *req = buff;
|
||||||
|
|
||||||
switch (*req->cmd) {
|
switch (*req->cmd) {
|
||||||
case SCSI_INQUIRY: {
|
case SCSI_INQUIRY: {
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
#ifndef _SCSI_H
|
#ifndef _SCSI_H
|
||||||
#define _SCSI_H
|
#define _SCSI_H
|
||||||
|
|
||||||
typedef struct SCSI_cmd_block{
|
typedef struct scsi_cmd{
|
||||||
unsigned char cmd[16]; /* command */
|
unsigned char cmd[16]; /* command */
|
||||||
/* for request sense */
|
/* for request sense */
|
||||||
unsigned char sense_buf[64]
|
unsigned char sense_buf[64]
|
||||||
|
Reference in New Issue
Block a user