diff options
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index d61df036910c..287690853caf 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -609,8 +609,8 @@ qla2x00_pci_info_show(struct device *dev, struct device_attribute *attr, | |||
609 | } | 609 | } |
610 | 610 | ||
611 | static ssize_t | 611 | static ssize_t |
612 | qla2x00_state_show(struct device *dev, struct device_attribute *attr, | 612 | qla2x00_link_state_show(struct device *dev, struct device_attribute *attr, |
613 | char *buf) | 613 | char *buf) |
614 | { | 614 | { |
615 | scsi_qla_host_t *ha = shost_priv(class_to_shost(dev)); | 615 | scsi_qla_host_t *ha = shost_priv(class_to_shost(dev)); |
616 | int len = 0; | 616 | int len = 0; |
@@ -814,7 +814,7 @@ static DEVICE_ATTR(isp_id, S_IRUGO, qla2x00_isp_id_show, NULL); | |||
814 | static DEVICE_ATTR(model_name, S_IRUGO, qla2x00_model_name_show, NULL); | 814 | static DEVICE_ATTR(model_name, S_IRUGO, qla2x00_model_name_show, NULL); |
815 | static DEVICE_ATTR(model_desc, S_IRUGO, qla2x00_model_desc_show, NULL); | 815 | static DEVICE_ATTR(model_desc, S_IRUGO, qla2x00_model_desc_show, NULL); |
816 | static DEVICE_ATTR(pci_info, S_IRUGO, qla2x00_pci_info_show, NULL); | 816 | static DEVICE_ATTR(pci_info, S_IRUGO, qla2x00_pci_info_show, NULL); |
817 | static DEVICE_ATTR(state, S_IRUGO, qla2x00_state_show, NULL); | 817 | static DEVICE_ATTR(link_state, S_IRUGO, qla2x00_link_state_show, NULL); |
818 | static DEVICE_ATTR(zio, S_IRUGO | S_IWUSR, qla2x00_zio_show, qla2x00_zio_store); | 818 | static DEVICE_ATTR(zio, S_IRUGO | S_IWUSR, qla2x00_zio_show, qla2x00_zio_store); |
819 | static DEVICE_ATTR(zio_timer, S_IRUGO | S_IWUSR, qla2x00_zio_timer_show, | 819 | static DEVICE_ATTR(zio_timer, S_IRUGO | S_IWUSR, qla2x00_zio_timer_show, |
820 | qla2x00_zio_timer_store); | 820 | qla2x00_zio_timer_store); |
@@ -838,7 +838,7 @@ struct device_attribute *qla2x00_host_attrs[] = { | |||
838 | &dev_attr_model_name, | 838 | &dev_attr_model_name, |
839 | &dev_attr_model_desc, | 839 | &dev_attr_model_desc, |
840 | &dev_attr_pci_info, | 840 | &dev_attr_pci_info, |
841 | &dev_attr_state, | 841 | &dev_attr_link_state, |
842 | &dev_attr_zio, | 842 | &dev_attr_zio, |
843 | &dev_attr_zio_timer, | 843 | &dev_attr_zio_timer, |
844 | &dev_attr_beacon, | 844 | &dev_attr_beacon, |