Skip to content

Commit

Permalink
[PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg KH authored and Linus Torvalds committed Jul 6, 2005
1 parent a18bcb7 commit 3d3c2ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pci/pci-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 3d3c2ae

Please sign in to comment.