summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-07-06 18:09:38 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 18:22:45 +0200
commit3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 (patch)
tree366f36bab03ca4471430021b5f2283993c19f4de /drivers
parentLinux v2.6.13-rc3 (diff)
downloadlinux-3d3c2ae1101c1f2dff7e2f9d514769779dbd2737.tar.xz
linux-3d3c2ae1101c1f2dff7e2f9d514769779dbd2737.zip
[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')
-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 @@
* Dynamic device IDs are disabled for !CONFIG_HOTPLUG
*/
-#ifdef CONFIG_HOTPLUG
-
struct pci_dynid {
struct list_head node;
struct pci_device_id id;
};
+#ifdef CONFIG_HOTPLUG
+
/**
* store_new_id
*