public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix pciehp driver on non ACPI systems
@ 2006-04-06 10:17 Anton Blanchard
  2006-04-06 16:05 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Anton Blanchard @ 2006-04-06 10:17 UTC (permalink / raw)
  To: akpm, gregkh; +Cc: linux-kernel


Wrap some ACPI specific headers. ACPI hasnt taken over the whole world yet.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: kernel/drivers/pci/hotplug/pciehp_hpc.c
===================================================================
--- kernel.orig/drivers/pci/hotplug/pciehp_hpc.c	2006-04-06 05:01:32.000000000 -0500
+++ kernel/drivers/pci/hotplug/pciehp_hpc.c	2006-04-06 05:09:48.501122395 -0500
@@ -38,10 +38,14 @@
 
 #include "../pci.h"
 #include "pciehp.h"
+
+#ifdef CONFIG_ACPI
 #include <acpi/acpi.h>
 #include <acpi/acpi_bus.h>
 #include <acpi/actypes.h>
 #include <linux/pci-acpi.h>
+#endif
+
 #ifdef DEBUG
 #define DBG_K_TRACE_ENTRY      ((unsigned int)0x00000001)	/* On function entry */
 #define DBG_K_TRACE_EXIT       ((unsigned int)0x00000002)	/* On function exit */

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-04-12 22:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-06 10:17 [PATCH] Fix pciehp driver on non ACPI systems Anton Blanchard
2006-04-06 16:05 ` Greg KH
2006-04-06 17:41   ` Randy.Dunlap
2006-04-06 17:46     ` Sam Ravnborg
2006-04-06 17:57       ` Greg KH
2006-04-06 18:14         ` Sam Ravnborg
2006-04-12 22:28           ` Greg KH
2006-04-06 18:27     ` Greg KH
2006-04-06 18:58       ` Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox