提交 8bfcd1bf 编写于 作者: W Wei Yongjun 提交者: Martin K. Petersen

scsi: sd: make sd_devt_release() static

Fixes the following sparse warning:

drivers/scsi/sd.c:3087:6: warning:
 symbol 'sd_devt_release' was not declared. Should it be static?
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 61d8658b
......@@ -3084,7 +3084,7 @@ struct sd_devt {
struct disk_devt disk_devt;
};
void sd_devt_release(struct disk_devt *disk_devt)
static void sd_devt_release(struct disk_devt *disk_devt)
{
struct sd_devt *sd_devt = container_of(disk_devt, struct sd_devt,
disk_devt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册