[PATCH 6/8] Explictly undefine DEBUG in arch/powerpc/platforms/pseries/eeh_driver.c

Tony Breeds tony at bakeyournoodle.com
Thu Jul 31 13:51:43 EST 2008


print_device_node_tree() is guarded by DEBUG but even when declared, it
isn't called.  Explicitly undefine DEBUG as you'll need to modify this
file anyway to use print_device_node_tree().

Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
---
 arch/powerpc/platforms/pseries/eeh_driver.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c
index 8c1ca47..2f18380 100644
--- a/arch/powerpc/platforms/pseries/eeh_driver.c
+++ b/arch/powerpc/platforms/pseries/eeh_driver.c
@@ -22,6 +22,9 @@
  *
  * Send comments and feedback to Linas Vepstas <linas at austin.ibm.com>
  */
+
+#undef DEBUG
+
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
-- 
1.5.6.3




More information about the Linuxppc-dev mailing list