aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/sep
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/sep
parentStaging: rar: fix some initial type problems (diff)
downloadlinux-dev-4dd00845690a6744dbd879fa49584c49098823d8.tar.xz
linux-dev-4dd00845690a6744dbd879fa49584c49098823d8.zip
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/sep')
-rw-r--r--drivers/staging/sep/sep_ext_with_pci_driver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/sep/sep_ext_with_pci_driver.c b/drivers/staging/sep/sep_ext_with_pci_driver.c
index 49465f23db6d..bac0dd0af855 100644
--- a/drivers/staging/sep/sep_ext_with_pci_driver.c
+++ b/drivers/staging/sep/sep_ext_with_pci_driver.c
@@ -91,8 +91,6 @@ static unsigned long CRYS_SEP_ROM[] = {
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) */
static unsigned long io_memory_start_physical_address;
@@ -134,7 +132,7 @@ static int __devinit sep_probe(struct pci_dev *pdev,
const struct pci_device_id *ent);
static struct pci_device_id sep_pci_id_tbl[] = {
- { PCI_DEVICE(VENDOR_ID, 0x080c) },
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080c) },
{ 0 }
};