From: Jon Mason <jdmason@kudzu.us>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [trivial PATCH 6/7] dt3155v4l: use PCI_VENDOR_ID_INTEL
Date: Tue, 10 Jul 2012 15:31:31 -0700 [thread overview]
Message-ID: <1341959492-31389-6-git-send-email-jdmason@kudzu.us> (raw)
In-Reply-To: <1341959492-31389-1-git-send-email-jdmason@kudzu.us>
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 c365cdf..76faa85 100644
--- a/drivers/staging/media/dt3155v4l/dt3155v4l.c
+++ b/drivers/staging/media/dt3155v4l/dt3155v4l.c
@@ -30,7 +30,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 */
@@ -959,7 +958,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.7.9.5
next prev parent reply other threads:[~2012-07-10 22:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 22:31 [trivial PATCH 1/7] ixgb: use PCI_VENDOR_ID_* Jon Mason
2012-07-10 22:31 ` [trivial PATCH 2/7] ixgbe: remove unused #define Jon Mason
2012-07-10 22:43 ` Jeff Kirsher
2012-07-12 18:15 ` Jeff Kirsher
2012-07-12 19:49 ` Jon Mason
2012-07-12 19:58 ` Jeff Kirsher
2012-07-10 22:31 ` [trivial PATCH 3/7] megaraid: remove unnecessary #defines Jon Mason
2012-07-10 22:31 ` [trivial PATCH 4/7] gdt: " Jon Mason
2012-07-10 22:31 ` [trivial PATCH 5/7] hpet: Remove unused PCI Vendor ID #define Jon Mason
2012-07-10 22:31 ` Jon Mason [this message]
2012-07-10 22:31 ` [trivial PATCH 7/7] ioat: remove unused #defines Jon Mason
2012-07-10 22:41 ` [trivial PATCH 1/7] ixgb: use PCI_VENDOR_ID_* Jeff Kirsher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1341959492-31389-6-git-send-email-jdmason@kudzu.us \
--to=jdmason@kudzu.us \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®