From 923395f93fe7960ee64d5f50974936e4f43df262 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Wed, 6 Feb 2008 01:38:03 -0800 Subject: [PATCH] --- yaml --- r: 83481 b: refs/heads/master c: 82f560874e88bd1fd8c98a6254d65a1dffab3876 h: refs/heads/master i: 83479: ee3f81faf899409c5a680b90fe9d4e09c2249473 v: v3 --- [refs] | 2 +- trunk/drivers/misc/phantom.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 2d6c8ac4340b..0f69215d4fbd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2b54aaef7a3a77f208bc14f576010da4fb8dfe29 +refs/heads/master: 82f560874e88bd1fd8c98a6254d65a1dffab3876 diff --git a/trunk/drivers/misc/phantom.c b/trunk/drivers/misc/phantom.c index cd221fd0fb94..7fa61e907e1c 100644 --- a/trunk/drivers/misc/phantom.c +++ b/trunk/drivers/misc/phantom.c @@ -25,7 +25,7 @@ #include #include -#define PHANTOM_VERSION "n0.9.7" +#define PHANTOM_VERSION "n0.9.8" #define PHANTOM_MAX_MINORS 8 @@ -456,8 +456,9 @@ static int phantom_resume(struct pci_dev *pdev) #endif static struct pci_device_id phantom_pci_tbl[] __devinitdata = { - { PCI_DEVICE(PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050), - .class = PCI_CLASS_BRIDGE_OTHER << 8, .class_mask = 0xffff00 }, + { .vendor = PCI_VENDOR_ID_PLX, .device = PCI_DEVICE_ID_PLX_9050, + .subvendor = PCI_VENDOR_ID_PLX, .subdevice = PCI_DEVICE_ID_PLX_9050, + .class = PCI_CLASS_BRIDGE_OTHER << 8, .class_mask = 0xffff00 }, { 0, } }; MODULE_DEVICE_TABLE(pci, phantom_pci_tbl);