diff options
author | Greg KH <gregkh@suse.de> | 2005-07-06 09:09:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 09:22:45 -0700 |
commit | 3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 (patch) | |
tree | 366f36bab03ca4471430021b5f2283993c19f4de /drivers/pci/pci-driver.c | |
parent | a18bcb7450840f07a772a45229de4811d930f461 (diff) | |
download | linux-3d3c2ae1101c1f2dff7e2f9d514769779dbd2737.tar.gz linux-3d3c2ae1101c1f2dff7e2f9d514769779dbd2737.tar.bz2 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/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 4 |
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 * |