diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-08-11 14:59:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-11 15:20:31 -0400 |
commit | f08c0761d6ff79e2f4c81f95fd01b761e0410785 (patch) | |
tree | 17016a622289287f36f4e5dcf07d3d4523b11fac | |
parent | 10fec20ef5eec1c91913baec1225400f0d02df40 (diff) |
make struct scsi_dh_devlist's static
This patch makes several needlessly global struct scsi_dh_devlist's
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_alua.c | 2 | ||||
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_emc.c | 2 | ||||
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_hp_sw.c | 2 | ||||
-rw-r--r-- | drivers/scsi/device_handler/scsi_dh_rdac.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c index fcdd73f25625..994da56fffed 100644 --- a/drivers/scsi/device_handler/scsi_dh_alua.c +++ b/drivers/scsi/device_handler/scsi_dh_alua.c | |||
@@ -680,7 +680,7 @@ static int alua_prep_fn(struct scsi_device *sdev, struct request *req) | |||
680 | 680 | ||
681 | } | 681 | } |
682 | 682 | ||
683 | const struct scsi_dh_devlist alua_dev_list[] = { | 683 | static const struct scsi_dh_devlist alua_dev_list[] = { |
684 | {"HP", "MSA VOLUME" }, | 684 | {"HP", "MSA VOLUME" }, |
685 | {"HP", "HSV101" }, | 685 | {"HP", "HSV101" }, |
686 | {"HP", "HSV111" }, | 686 | {"HP", "HSV111" }, |
diff --git a/drivers/scsi/device_handler/scsi_dh_emc.c b/drivers/scsi/device_handler/scsi_dh_emc.c index aa46b131b20e..b9d23e9e9a44 100644 --- a/drivers/scsi/device_handler/scsi_dh_emc.c +++ b/drivers/scsi/device_handler/scsi_dh_emc.c | |||
@@ -562,7 +562,7 @@ done: | |||
562 | return result; | 562 | return result; |
563 | } | 563 | } |
564 | 564 | ||
565 | const struct scsi_dh_devlist clariion_dev_list[] = { | 565 | static const struct scsi_dh_devlist clariion_dev_list[] = { |
566 | {"DGC", "RAID"}, | 566 | {"DGC", "RAID"}, |
567 | {"DGC", "DISK"}, | 567 | {"DGC", "DISK"}, |
568 | {"DGC", "VRAID"}, | 568 | {"DGC", "VRAID"}, |
diff --git a/drivers/scsi/device_handler/scsi_dh_hp_sw.c b/drivers/scsi/device_handler/scsi_dh_hp_sw.c index 9c7a1f8ebb72..a6a4ef3ad51c 100644 --- a/drivers/scsi/device_handler/scsi_dh_hp_sw.c +++ b/drivers/scsi/device_handler/scsi_dh_hp_sw.c | |||
@@ -282,7 +282,7 @@ static int hp_sw_activate(struct scsi_device *sdev) | |||
282 | return ret; | 282 | return ret; |
283 | } | 283 | } |
284 | 284 | ||
285 | const struct scsi_dh_devlist hp_sw_dh_data_list[] = { | 285 | static const struct scsi_dh_devlist hp_sw_dh_data_list[] = { |
286 | {"COMPAQ", "MSA1000 VOLUME"}, | 286 | {"COMPAQ", "MSA1000 VOLUME"}, |
287 | {"COMPAQ", "HSV110"}, | 287 | {"COMPAQ", "HSV110"}, |
288 | {"HP", "HSV100"}, | 288 | {"HP", "HSV100"}, |
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c index b093a501f8ae..e7c7b4ebc1fe 100644 --- a/drivers/scsi/device_handler/scsi_dh_rdac.c +++ b/drivers/scsi/device_handler/scsi_dh_rdac.c | |||
@@ -574,7 +574,7 @@ static int rdac_check_sense(struct scsi_device *sdev, | |||
574 | return SCSI_RETURN_NOT_HANDLED; | 574 | return SCSI_RETURN_NOT_HANDLED; |
575 | } | 575 | } |
576 | 576 | ||
577 | const struct scsi_dh_devlist rdac_dev_list[] = { | 577 | static const struct scsi_dh_devlist rdac_dev_list[] = { |
578 | {"IBM", "1722"}, | 578 | {"IBM", "1722"}, |
579 | {"IBM", "1724"}, | 579 | {"IBM", "1724"}, |
580 | {"IBM", "1726"}, | 580 | {"IBM", "1726"}, |