Commit 4dd00845 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

Staging: rar/sep: Don't use random VENDOR_ID macros but the proper names

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 137cf5b2
...@@ -17,12 +17,6 @@ ...@@ -17,12 +17,6 @@
#include <linux/sched.h> #include <linux/sched.h>
#include "rar_driver.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 */ /* The following defines are for the IPC process to retrieve RAR in */
/* === Lincroft Message Bus Interface === */ /* === Lincroft Message Bus Interface === */
...@@ -77,7 +71,7 @@ static void __exit rar_exit_handler(void); ...@@ -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 int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct pci_device_id rar_pci_id_tbl[] = { static struct pci_device_id rar_pci_id_tbl[] = {
{ PCI_DEVICE(VENDOR_ID, DEVICE_ID) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4110) },
{ 0 } { 0 }
}; };
......
...@@ -91,8 +91,6 @@ static unsigned long CRYS_SEP_ROM[] = { ...@@ -91,8 +91,6 @@ static unsigned long CRYS_SEP_ROM[] = {
irqreturn_t sep_inthandler(int irq , void* dev_id); irqreturn_t sep_inthandler(int irq , void* dev_id);
/* NOTE - must be defined specific to the board */
#define VENDOR_ID 0x8086
/* io memory (register area) */ /* io memory (register area) */
static unsigned long io_memory_start_physical_address; static unsigned long io_memory_start_physical_address;
...@@ -134,7 +132,7 @@ static int __devinit sep_probe(struct pci_dev *pdev, ...@@ -134,7 +132,7 @@ static int __devinit sep_probe(struct pci_dev *pdev,
const struct pci_device_id *ent); const struct pci_device_id *ent);
static struct pci_device_id sep_pci_id_tbl[] = { static struct pci_device_id sep_pci_id_tbl[] = {
{ PCI_DEVICE(VENDOR_ID, 0x080c) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080c) },
{ 0 } { 0 }
}; };
......
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