Commit 6fb0e403 authored by Jon Mason's avatar Jon Mason Committed by Mauro Carvalho Chehab

[media] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL

Use PCI_VENDOR_ID_INTEL instead of creating its own vendor ID #define.
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent fbcb2dc3
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "dt3155v4l.h" #include "dt3155v4l.h"
#define DT3155_VENDOR_ID 0x8086
#define DT3155_DEVICE_ID 0x1223 #define DT3155_DEVICE_ID 0x1223
/* DT3155_CHUNK_SIZE is 4M (2^22) 8 full size buffers */ /* DT3155_CHUNK_SIZE is 4M (2^22) 8 full size buffers */
...@@ -975,7 +974,7 @@ dt3155_remove(struct pci_dev *pdev) ...@@ -975,7 +974,7 @@ dt3155_remove(struct pci_dev *pdev)
} }
static const struct pci_device_id pci_ids[] = { 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 */ }, { 0, /* zero marks the end */ },
}; };
MODULE_DEVICE_TABLE(pci, pci_ids); MODULE_DEVICE_TABLE(pci, pci_ids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment