diff options
| -rw-r--r-- | drivers/block/cpqarray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index b2fceb53e809..9125bbeacd4d 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c | |||
| @@ -620,6 +620,7 @@ static int cpqarray_pci_init(ctlr_info_t *c, struct pci_dev *pdev) | |||
| 620 | } | 620 | } |
| 621 | vendor_id = pdev->vendor; | 621 | vendor_id = pdev->vendor; |
| 622 | device_id = pdev->device; | 622 | device_id = pdev->device; |
| 623 | revision = pdev->revision; | ||
| 623 | irq = pdev->irq; | 624 | irq = pdev->irq; |
| 624 | 625 | ||
| 625 | for(i=0; i<6; i++) | 626 | for(i=0; i<6; i++) |
| @@ -632,7 +633,6 @@ static int cpqarray_pci_init(ctlr_info_t *c, struct pci_dev *pdev) | |||
| 632 | } | 633 | } |
| 633 | 634 | ||
| 634 | pci_read_config_word(pdev, PCI_COMMAND, &command); | 635 | pci_read_config_word(pdev, PCI_COMMAND, &command); |
| 635 | pci_read_config_byte(pdev, PCI_CLASS_REVISION, &revision); | ||
| 636 | pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &cache_line_size); | 636 | pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &cache_line_size); |
| 637 | pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &latency_timer); | 637 | pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &latency_timer); |
| 638 | 638 | ||
