From: Greg KH Date: Wed, 6 Jul 2005 16:09:38 +0000 (-0700) Subject: [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3d3c2ae1101c1f2dff7e2f9d514769779dbd2737;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Linus Torvalds --- 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 *