diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-24 20:00:52 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-27 23:55:06 -0500 |
commit | 03fbcbcd57e9d1bc5a4fe6a81c1845e7365ddabc (patch) | |
tree | 8423136d0945691df0fb5537ff4b1e97a51deac1 /drivers/message/fusion/mptfc.c | |
parent | f8a88b19b9d4f59bd625b4852c1b1138a5cf89f3 (diff) |
[SCSI] drivers/message/fusion/mptfc.c: make 2 functions static
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptfc.c')
-rw-r--r-- | drivers/message/fusion/mptfc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c index c3a3499bce2a..8ea12ea652ad 100644 --- a/drivers/message/fusion/mptfc.c +++ b/drivers/message/fusion/mptfc.c | |||
@@ -154,7 +154,7 @@ MODULE_DEVICE_TABLE(pci, mptfc_pci_table); | |||
154 | 154 | ||
155 | static struct scsi_transport_template *mptfc_transport_template = NULL; | 155 | static struct scsi_transport_template *mptfc_transport_template = NULL; |
156 | 156 | ||
157 | struct fc_function_template mptfc_transport_functions = { | 157 | static struct fc_function_template mptfc_transport_functions = { |
158 | .dd_fcrport_size = 8, | 158 | .dd_fcrport_size = 8, |
159 | .show_host_node_name = 1, | 159 | .show_host_node_name = 1, |
160 | .show_host_port_name = 1, | 160 | .show_host_port_name = 1, |
@@ -514,7 +514,7 @@ mptfc_target_alloc(struct scsi_target *starget) | |||
514 | * Return non-zero if allocation fails. | 514 | * Return non-zero if allocation fails. |
515 | * Init memory once per LUN. | 515 | * Init memory once per LUN. |
516 | */ | 516 | */ |
517 | int | 517 | static int |
518 | mptfc_slave_alloc(struct scsi_device *sdev) | 518 | mptfc_slave_alloc(struct scsi_device *sdev) |
519 | { | 519 | { |
520 | MPT_SCSI_HOST *hd; | 520 | MPT_SCSI_HOST *hd; |