diff options
author | Andrew Morton <akpm@osdl.org> | 2005-08-16 18:16:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-17 00:06:24 -0400 |
commit | 4b47b0eefc37fe3bf6bffb4507c8b6df5b14348d (patch) | |
tree | a3f48593dc121e179d54e6ea90b67fa00e0e376a | |
parent | 4602b88d9743b5f20655de8078fb42e9fd25581f (diff) |
[PATCH] PCI: fix quirk-6700-fix.patch
drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh':
/usr/src/25/drivers/pci/quirks.c:1312: undefined reference to `disable_msi_mode'
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/pci/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index fa36094aa0f9..d00168b1f662 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -46,7 +46,13 @@ extern int pci_msi_quirk; | |||
46 | #else | 46 | #else |
47 | #define pci_msi_quirk 0 | 47 | #define pci_msi_quirk 0 |
48 | #endif | 48 | #endif |
49 | |||
50 | #ifdef CONFIG_PCI_MSI | ||
49 | void disable_msi_mode(struct pci_dev *dev, int pos, int type); | 51 | void disable_msi_mode(struct pci_dev *dev, int pos, int type); |
52 | #else | ||
53 | static inline void disable_msi_mode(struct pci_dev *dev, int pos, int type) { } | ||
54 | #endif | ||
55 | |||
50 | extern int pcie_mch_quirk; | 56 | extern int pcie_mch_quirk; |
51 | extern struct device_attribute pci_dev_attrs[]; | 57 | extern struct device_attribute pci_dev_attrs[]; |
52 | extern struct class_device_attribute class_device_attr_cpuaffinity; | 58 | extern struct class_device_attribute class_device_attr_cpuaffinity; |