diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-10-02 17:37:59 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:54:29 -0400 |
commit | 5975f643efc39ebb762dfaf18ca6f2c95983dac0 (patch) | |
tree | 86f13934b3cb093f542401dab8e34daa03f04b51 /drivers/scsi | |
parent | 774251ef64a1ad1e8b895e00d3d075cfa38d2af1 (diff) |
[SCSI] arcmsr: build fix
drivers/scsi/arcmsr/arcmsr_hba.c:129: error: 'arcmsr_pci_error_detected' undeclared here (not in a function)
drivers/scsi/arcmsr/arcmsr_hba.c:130: error: 'arcmsr_pci_slot_reset' undeclared here (not in a function)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/arcmsr/arcmsr_hba.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index f4d2d523db44..cfcf40159eab 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c | |||
@@ -125,6 +125,10 @@ static struct scsi_host_template arcmsr_scsi_host_template = { | |||
125 | .shost_attrs = arcmsr_host_attrs, | 125 | .shost_attrs = arcmsr_host_attrs, |
126 | }; | 126 | }; |
127 | #ifdef CONFIG_SCSI_ARCMSR_AER | 127 | #ifdef CONFIG_SCSI_ARCMSR_AER |
128 | static pci_ers_result_t arcmsr_pci_slot_reset(struct pci_dev *pdev); | ||
129 | static pci_ers_result_t arcmsr_pci_error_detected(struct pci_dev *pdev, | ||
130 | pci_channel_state_t state); | ||
131 | |||
128 | static struct pci_error_handlers arcmsr_pci_error_handlers = { | 132 | static struct pci_error_handlers arcmsr_pci_error_handlers = { |
129 | .error_detected = arcmsr_pci_error_detected, | 133 | .error_detected = arcmsr_pci_error_detected, |
130 | .slot_reset = arcmsr_pci_slot_reset, | 134 | .slot_reset = arcmsr_pci_slot_reset, |