public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] pata_rdc: Use registered definition for the RDC vendor
@ 2025-07-11 11:36 Andy Shevchenko
  2025-07-14  0:32 ` Damien Le Moal
  2025-07-14  7:25 ` Niklas Cassel
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Shevchenko @ 2025-07-11 11:36 UTC (permalink / raw)
  To: linux-ide, linux-kernel; +Cc: Damien Le Moal, Niklas Cassel, Andy Shevchenko

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>
---
 drivers/ata/pata_rdc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/pata_rdc.c b/drivers/ata/pata_rdc.c
index 09792aac7f9d..19cbb5c94b42 100644
--- a/drivers/ata/pata_rdc.c
+++ b/drivers/ata/pata_rdc.c
@@ -359,8 +359,8 @@ static void rdc_remove_one(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id rdc_pci_tbl[] = {
-	{ PCI_DEVICE(0x17F3, 0x1011), },
-	{ PCI_DEVICE(0x17F3, 0x1012), },
+	{ PCI_VDEVICE(RDC, 0x1011) },
+	{ PCI_VDEVICE(RDC, 0x1012) },
 	{ }	/* terminate list */
 };
 
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-14  7:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11 11:36 [PATCH v1 1/1] pata_rdc: Use registered definition for the RDC vendor Andy Shevchenko
2025-07-14  0:32 ` Damien Le Moal
2025-07-14  7:12   ` Andy Shevchenko
2025-07-14  7:14     ` Damien Le Moal
2025-07-14  7:28   ` Niklas Cassel
2025-07-14  7:25 ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox