projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18bcb7
)
[PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem
author
Greg KH
<gregkh@suse.de>
Wed, 6 Jul 2005 16:09:38 +0000
(09:09 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 6 Jul 2005 16:22:45 +0000
(09:22 -0700)
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>
drivers/pci/pci-driver.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci-driver.c
b/drivers/pci/pci-driver.c
index aac6de9568e5dce5992b7f196cfbc76058e329f6..e4115a0d5ba6152852e43840eb56f702481d8bac 100644
(file)
--- 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
*