summaryrefslogtreecommitdiff
path: root/drivers/staging/rar
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-06 20:44:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:12 -0700
commit4dd00845690a6744dbd879fa49584c49098823d8 (patch)
tree091eae17059275aa6c568d40bea461cada7a3620 /drivers/staging/rar
parent137cf5b22f5fd38751265eae881749c311d27c75 (diff)
Staging: rar/sep: Don't use random VENDOR_ID macros but the proper names
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rar')
-rw-r--r--drivers/staging/rar/rar_driver.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/rar/rar_driver.c b/drivers/staging/rar/rar_driver.c
index 0428bce5d213..9805d74bd341 100644
--- a/drivers/staging/rar/rar_driver.c
+++ b/drivers/staging/rar/rar_driver.c
@@ -17,12 +17,6 @@
#include <linux/sched.h>
#include "rar_driver.h"
-/* PCI vendor id for controler */
-#define VENDOR_ID 0x8086
-
-/* PCI device id for controler */
-#define DEVICE_ID 0x4110
-
/* The following defines are for the IPC process to retrieve RAR in */
/* === Lincroft Message Bus Interface === */
@@ -77,7 +71,7 @@ static void __exit rar_exit_handler(void);
static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct pci_device_id rar_pci_id_tbl[] = {
- { PCI_DEVICE(VENDOR_ID, DEVICE_ID) },
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4110) },
{ 0 }
};