diff options
author | Miguel Gómez <magomez@igalia.com> | 2012-06-18 11:12:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-19 00:20:20 (GMT) |
commit | 96cd1f8b41c36c2520cc8b524734784a9e995ff2 (patch) | |
tree | 883e6fcbf1dbe51215bf979e09df3d0064656e17 | |
parent | d56b4c3dff9d1761bbd87746a0d92424960d2df0 (diff) | |
download | linux-fsl-qoriq-96cd1f8b41c36c2520cc8b524734784a9e995ff2.tar.xz |
Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode.
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>
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 9ffc853..a45a497 100644 --- 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; |