All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem
@ 2005-07-06 16:09 Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2005-07-06 16:09 UTC (permalink / raw)
  To: torvalds, Andrew Morton; +Cc: linux-kernel, linux-pci

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>

---
 drivers/pci/pci-driver.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- gregkh-2.6.orig/drivers/pci/pci-driver.c	2005-07-06 01:03:26.000000000 -0700
+++ gregkh-2.6/drivers/pci/pci-driver.c	2005-07-06 09:07:09.000000000 -0700
@@ -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
  *

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-07  3:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 16:09 [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.