diff options
Diffstat (limited to 'drivers/ata/pata_it821x.c')
-rw-r--r-- | drivers/ata/pata_it821x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index aa0e0c51cc08..2d15f2548a10 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -616,7 +616,7 @@ static void it821x_display_disk(int n, u8 *buf) | |||
616 | if (buf[52] > 4) /* No Disk */ | 616 | if (buf[52] > 4) /* No Disk */ |
617 | return; | 617 | return; |
618 | 618 | ||
619 | ata_id_c_string((u16 *)buf, id, 0, 41); | 619 | ata_id_c_string((u16 *)buf, id, 0, 41); |
620 | 620 | ||
621 | if (buf[51]) { | 621 | if (buf[51]) { |
622 | mode = ffs(buf[51]); | 622 | mode = ffs(buf[51]); |
@@ -910,7 +910,7 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
910 | rc = pcim_enable_device(pdev); | 910 | rc = pcim_enable_device(pdev); |
911 | if (rc) | 911 | if (rc) |
912 | return rc; | 912 | return rc; |
913 | 913 | ||
914 | if (pdev->vendor == PCI_VENDOR_ID_RDC) { | 914 | if (pdev->vendor == PCI_VENDOR_ID_RDC) { |
915 | /* Deal with Vortex86SX */ | 915 | /* Deal with Vortex86SX */ |
916 | if (pdev->revision == 0x11) | 916 | if (pdev->revision == 0x11) |