* [PATCH] ACPI: EC: "DEBUG" needs to be defined earlier
@ 2008-01-17 7:26 Németh Márton
0 siblings, 0 replies; only message in thread
From: Németh Márton @ 2008-01-17 7:26 UTC (permalink / raw)
To: Alexey Starikovskiy; +Cc: linux-kernel
From: Márton Németh <nm127@freemail.hu>
The "DEBUG" symbol needs to be defined before #including <linux/kernel.h> to
get the pr_debug() working.
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
--- linux-2.6.24-rc8/drivers/acpi/ec.c.orig 2008-01-16 07:25:33.000000000 +0100
+++ linux-2.6.24-rc8/drivers/acpi/ec.c 2008-01-16 19:41:24.000000000 +0100
@@ -26,6 +26,9 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
+/* Uncomment next line to get verbose print outs*/
+/* #define DEBUG */
+
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
@@ -47,9 +50,6 @@
#undef PREFIX
#define PREFIX "ACPI: EC: "
-/* Uncomment next line to get verbose print outs*/
-/* #define DEBUG */
-
/* EC status register */
#define ACPI_EC_FLAG_OBF 0x01 /* Output buffer full */
#define ACPI_EC_FLAG_IBF 0x02 /* Input buffer full */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-17 7:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 7:26 [PATCH] ACPI: EC: "DEBUG" needs to be defined earlier Németh Márton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox