aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-07-06 12:09:38 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 12:22:45 -0400
commit3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 (patch)
tree366f36bab03ca4471430021b5f2283993c19f4de /drivers/pci
parenta18bcb7450840f07a772a45229de4811d930f461 (diff)
[PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem
Here's a patch to fix the build issue when CONFIG_HOTPLUG is not enabled in 2.6.13-rc2. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci-driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index aac6de9568e5..e4115a0d5ba6 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -17,13 +17,13 @@
17 * Dynamic device IDs are disabled for !CONFIG_HOTPLUG 17 * Dynamic device IDs are disabled for !CONFIG_HOTPLUG
18 */ 18 */
19 19
20#ifdef CONFIG_HOTPLUG
21
22struct pci_dynid { 20struct pci_dynid {
23 struct list_head node; 21 struct list_head node;
24 struct pci_device_id id; 22 struct pci_device_id id;
25}; 23};
26 24
25#ifdef CONFIG_HOTPLUG
26
27/** 27/**
28 * store_new_id 28 * store_new_id
29 * 29 *