提交 e10fb91c 编写于 作者: J James Bottomley

[SCSI] fix function prototype warning

int_to_scsilun() takes a pointer to a struct scsi_lun in it's
prototype, so add this structure to scsi_device.h to avoid declaration
inside function prototype warnings.
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 7fce2cf6
......@@ -9,7 +9,7 @@
struct request_queue;
struct scsi_cmnd;
struct scsi_mode_data;
struct scsi_lun;
/*
* sdev state: If you alter this, you also need to alter scsi_sysfs.c
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册