pata-it821x: use PCI_DEVICE_ID_RDC_D1010 define
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 17 Nov 2009 13:11:16 +0000 (11:11 -0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 07:46:35 +0000 (02:46 -0500)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_it821x.c

index 188bc2fcd22c96067165d9ed19f2edb3d96b6903..edc5c1fed1508f39128d09873da1dd072805f8d1 100644 (file)
@@ -955,7 +955,7 @@ static int it821x_reinit_one(struct pci_dev *pdev)
 static const struct pci_device_id it821x[] = {
        { PCI_VDEVICE(ITE, PCI_DEVICE_ID_ITE_8211), },
        { PCI_VDEVICE(ITE, PCI_DEVICE_ID_ITE_8212), },
-       { PCI_VDEVICE(RDC, 0x1010), },
+       { PCI_VDEVICE(RDC, PCI_DEVICE_ID_RDC_D1010), },
 
        { },
 };