mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL
@ 2014-02-24 20:08 Jon Mason
  2014-02-24 20:08 ` [PATCH 2/2] staging/rtl8192e: Remove unused code Jon Mason
  2014-02-25  0:17 ` [PATCH 1/2] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL Greg Kroah-Hartman
  0 siblings, 2 replies; 3+ messages in thread
From: Jon Mason @ 2014-02-24 20:08 UTC (permalink / raw)
  To: devel; +Cc: linux-kernel, Greg Kroah-Hartman

Use PCI_VENDOR_ID_INTEL instead of creating its own vendor ID #define.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/staging/media/dt3155v4l/dt3155v4l.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c
index 081407b..d3e1267 100644
--- a/drivers/staging/media/dt3155v4l/dt3155v4l.c
+++ b/drivers/staging/media/dt3155v4l/dt3155v4l.c
@@ -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 DEFINE_PCI_DEVICE_TABLE(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);
-- 
1.8.3.2


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

end of thread, other threads:[~2014-02-25  0:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 20:08 [PATCH 1/2] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL Jon Mason
2014-02-24 20:08 ` [PATCH 2/2] staging/rtl8192e: Remove unused code Jon Mason
2014-02-25  0:17 ` [PATCH 1/2] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL Greg Kroah-Hartman

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

all inboxes | Powered by JetHome®