Skip to content

Commit 148fbaf

Browse files
andy-shevfloatious
authored andcommitted
ata: pata_rdc: Use registered definition for the RDC vendor
Convert to PCI_VDEVICE() and use registered definition for RDC vendor from pci_ids.h. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20250711113650.1475307-1-andriy.shevchenko@linux.intel.com [cassel: add ata: prefix to subject, fix typo in Damien's Rb tag] Signed-off-by: Niklas Cassel <cassel@kernel.org>
1 parent 5158ec2 commit 148fbaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/ata/pata_rdc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ static void rdc_remove_one(struct pci_dev *pdev)
359359
}
360360

361361
static const struct pci_device_id rdc_pci_tbl[] = {
362-
{ PCI_DEVICE(0x17F3, 0x1011), },
363-
{ PCI_DEVICE(0x17F3, 0x1012), },
362+
{ PCI_VDEVICE(RDC, 0x1011) },
363+
{ PCI_VDEVICE(RDC, 0x1012) },
364364
{ } /* terminate list */
365365
};
366366

0 commit comments

Comments
 (0)