diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-02-08 17:24:24 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-23 01:13:54 +0100 |
commit | 8bfcd1bf867d5fae67ecc553b44d7a29ab66013c (patch) | |
tree | 85387cca84b72c62d5bb2176298058013f70bb84 /drivers/scsi/sd.c | |
parent | scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework. (diff) | |
download | linux-8bfcd1bf867d5fae67ecc553b44d7a29ab66013c.tar.xz linux-8bfcd1bf867d5fae67ecc553b44d7a29ab66013c.zip |
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: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index cb6e68dd6df0..b9b32f5811e0 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -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); |