diff mbox

[-next] PCI: fix tlan build when CONFIG_PCI is not enabled

Message ID 20110214122750.e1e03bc8.randy.dunlap@oracle.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Randy Dunlap Feb. 14, 2011, 8:27 p.m. UTC
None
diff mbox

Patch

--- linux-next-20110214.orig/include/linux/pci.h
+++ linux-next-20110214/include/linux/pci.h
@@ -1191,6 +1191,11 @@  static inline int pci_set_power_state(st
 	return 0;
 }
 
+static inline int pci_wake_from_d3(struct pci_dev *dev, bool enable)
+{
+	return 0;
+}
+
 static inline pci_power_t pci_choose_state(struct pci_dev *dev,
 					   pm_message_t state)
 {