From: Greg KH Date: Wed, 6 Jul 2005 16:09:38 +0000 (-0700) Subject: [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem X-Git-Tag: v2.6.13-rc3~322 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3d3c2ae1101c1f2dff7e2f9d514769779dbd2737;p=linux-2.6-omap-h63xx.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 aac6de9568e..e4115a0d5ba 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 *