git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh...
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
quirks.c
diff --git
a/arch/x86/kernel/quirks.c
b/arch/x86/kernel/quirks.c
index
8bbe8c5
..
b78643d
100644
(file)
--- a/
arch/x86/kernel/quirks.c
+++ b/
arch/x86/kernel/quirks.c
@@
-10,7
+10,7
@@
static void __devinit quirk_intel_irqbalance(struct pci_dev *dev)
{
static void __devinit quirk_intel_irqbalance(struct pci_dev *dev)
{
- u8 config
, rev
;
+ u8 config;
u16 word;
/* BIOS may enable hardware IRQ balancing for
u16 word;
/* BIOS may enable hardware IRQ balancing for
@@
-18,8
+18,7
@@
static void __devinit quirk_intel_irqbalance(struct pci_dev *dev)
* based platforms.
* Disable SW irqbalance/affinity on those platforms.
*/
* based platforms.
* Disable SW irqbalance/affinity on those platforms.
*/
- pci_read_config_byte(dev, PCI_CLASS_REVISION, &rev);
- if (rev > 0x9)
+ if (dev->revision > 0x9)
return;
/* enable access to config space*/
return;
/* enable access to config space*/