projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56b4c3
)
Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode.
author
Miguel Gómez
<magomez@igalia.com>
Mon, 18 Jun 2012 11:12:02 +0000
(13:12 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:20:20 +0000
(17:20 -0700)
Define real content of dumpVGAReg() only in debug mode. Remove old condition.
Signed-off-by: Miguel Gómez <magomez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c
patch
|
blob
|
history
diff --git
a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index 9ffc85377c607aff8277e437bbae5fc4f0326b0b..a45a497115edb7d17873f318b41225562993e0b9 100644
(file)
--- a/
drivers/staging/xgifb/XGI_main_26.c
+++ b/
drivers/staging/xgifb/XGI_main_26.c
@@
-30,9
+30,7
@@
static unsigned int refresh_rate;
/* -------------------- Macro definitions ---------------------------- */
-#undef XGIFBDEBUG
-
-#ifdef XGIFBDEBUG
+#ifdef DEBUG
static void dumpVGAReg(void)
{
u8 i, reg;