]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/acpi/acpi_drivers.h
vmscan: return NODE_RECLAIM_NOSCAN in node_reclaim() when CONFIG_NUMA is n
[linux.git] / include / acpi / acpi_drivers.h
index 14499757338f65416835330254b8c90a06918d64..de1804aeaf691f5dfb4c1beb55f1a86923045eff 100644 (file)
@@ -88,7 +88,14 @@ int acpi_pci_link_free_irq(acpi_handle handle);
 
 struct pci_bus;
 
+#ifdef CONFIG_PCI
 struct pci_dev *acpi_get_pci_dev(acpi_handle);
+#else
+static inline struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
+{
+       return NULL;
+}
+#endif
 
 /* Arch-defined function to add a bus to the system */