[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Fix compilation error when CONFIG_PCI_REASSIGN is not set.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224241373 -3600
# Node ID 2406578997720703426d2a44e32e32bfc53ad83b
# Parent  a29df0e2bfe2b4bde83b10ad62d90781ee98cd83
Fix compilation error when CONFIG_PCI_REASSIGN is not set.

Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
---
 drivers/pci/pci.h |    1 +
 1 files changed, 1 insertion(+)

diff -r a29df0e2bfe2 -r 240657899772 drivers/pci/pci.h
--- a/drivers/pci/pci.h Fri Oct 17 12:02:23 2008 +0100
+++ b/drivers/pci/pci.h Fri Oct 17 12:02:53 2008 +0100
@@ -104,4 +104,5 @@ extern void pci_disable_bridge_window(st
 extern void pci_disable_bridge_window(struct pci_dev *dev);
 #else
 #define is_reassigndev(dev) 0
+static inline void pci_disable_bridge_window(struct pci_dev *dev) {}
 #endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.