提交 f08c0761 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

make struct scsi_dh_devlist's static

This patch makes several needlessly global struct scsi_dh_devlist's
static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NChandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 10fec20e
...@@ -680,7 +680,7 @@ static int alua_prep_fn(struct scsi_device *sdev, struct request *req) ...@@ -680,7 +680,7 @@ static int alua_prep_fn(struct scsi_device *sdev, struct request *req)
} }
const struct scsi_dh_devlist alua_dev_list[] = { static const struct scsi_dh_devlist alua_dev_list[] = {
{"HP", "MSA VOLUME" }, {"HP", "MSA VOLUME" },
{"HP", "HSV101" }, {"HP", "HSV101" },
{"HP", "HSV111" }, {"HP", "HSV111" },
......
...@@ -562,7 +562,7 @@ static int clariion_activate(struct scsi_device *sdev) ...@@ -562,7 +562,7 @@ static int clariion_activate(struct scsi_device *sdev)
return result; return result;
} }
const struct scsi_dh_devlist clariion_dev_list[] = { static const struct scsi_dh_devlist clariion_dev_list[] = {
{"DGC", "RAID"}, {"DGC", "RAID"},
{"DGC", "DISK"}, {"DGC", "DISK"},
{"DGC", "VRAID"}, {"DGC", "VRAID"},
......
...@@ -282,7 +282,7 @@ static int hp_sw_activate(struct scsi_device *sdev) ...@@ -282,7 +282,7 @@ static int hp_sw_activate(struct scsi_device *sdev)
return ret; return ret;
} }
const struct scsi_dh_devlist hp_sw_dh_data_list[] = { static const struct scsi_dh_devlist hp_sw_dh_data_list[] = {
{"COMPAQ", "MSA1000 VOLUME"}, {"COMPAQ", "MSA1000 VOLUME"},
{"COMPAQ", "HSV110"}, {"COMPAQ", "HSV110"},
{"HP", "HSV100"}, {"HP", "HSV100"},
......
...@@ -574,7 +574,7 @@ static int rdac_check_sense(struct scsi_device *sdev, ...@@ -574,7 +574,7 @@ static int rdac_check_sense(struct scsi_device *sdev,
return SCSI_RETURN_NOT_HANDLED; return SCSI_RETURN_NOT_HANDLED;
} }
const struct scsi_dh_devlist rdac_dev_list[] = { static const struct scsi_dh_devlist rdac_dev_list[] = {
{"IBM", "1722"}, {"IBM", "1722"},
{"IBM", "1724"}, {"IBM", "1724"},
{"IBM", "1726"}, {"IBM", "1726"},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册