[media] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL
authorJon Mason <jdmason@kudzu.us>
Mon, 3 Mar 2014 17:00:38 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 12:26:53 +0000 (09:26 -0300)
Use PCI_VENDOR_ID_INTEL instead of creating its own vendor ID #define.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/dt3155v4l/dt3155v4l.c

index e2357873458ce5e1ad07b6a0288ed90032f5a22f..68d41e2daceaff2a2f71b902ba74cfef9012589a 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "dt3155v4l.h"
 
-#define DT3155_VENDOR_ID 0x8086
 #define DT3155_DEVICE_ID 0x1223
 
 /* DT3155_CHUNK_SIZE is 4M (2^22) 8 full size buffers */
@@ -975,7 +974,7 @@ dt3155_remove(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id pci_ids[] = {
-       { PCI_DEVICE(DT3155_VENDOR_ID, DT3155_DEVICE_ID) },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, DT3155_DEVICE_ID) },
        { 0, /* zero marks the end */ },
 };
 MODULE_DEVICE_TABLE(pci, pci_ids);