summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-07-06 09:09:38 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 09:22:45 -0700
commit3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 (patch)
tree366f36bab03ca4471430021b5f2283993c19f4de
parenta18bcb7450840f07a772a45229de4811d930f461 (diff)
downloadop-kernel-dev-3d3c2ae1101c1f2dff7e2f9d514769779dbd2737.zip
op-kernel-dev-3d3c2ae1101c1f2dff7e2f9d514769779dbd2737.tar.gz
[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>
-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 aac6de9..e4115a0 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
*
OpenPOWER on IntegriCloud