OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c70b1
)
sx: switch subven and subid values
author
Jiri Slaby
<jirislaby@gmail.com>
Wed, 11 Jul 2007 00:22:25 +0000
(17:22 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 11 Jul 2007 00:51:13 +0000
(17:51 -0700)
sx.c is failing to locate Graham's card.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Graham Murray <gmurray@webwayone.co.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/sx.c
patch
|
blob
|
history
diff --git
a/drivers/char/sx.c
b/drivers/char/sx.c
index
1da92a6
..
85a2328
100644
(file)
--- a/
drivers/char/sx.c
+++ b/
drivers/char/sx.c
@@
-2721,9
+2721,9
@@
static void __devexit sx_pci_remove(struct pci_dev *pdev)
its because the standard requires it. So check for SUBVENDOR_ID. */
static struct pci_device_id sx_pci_tbl[] = {
{ PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8,
- .subvendor =
0x0200,.subdevice = PCI_ANY_ID
},
+ .subvendor =
PCI_ANY_ID, .subdevice = 0x0200
},
{ PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8,
- .subvendor =
0x0300,.subdevice = PCI_ANY_ID
},
+ .subvendor =
PCI_ANY_ID, .subdevice = 0x0300
},
{ 0 }
};