Commit 647f2e7a authored by Jean Delvare's avatar Jean Delvare Committed by Linus Torvalds

nvidiafb: Enable debugging messages a Kconfig option

Let the user enable debugging messages in nvidiafb.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 213b8a9a
...@@ -796,6 +796,15 @@ config FB_NVIDIA_I2C ...@@ -796,6 +796,15 @@ config FB_NVIDIA_I2C
independently validate video mode parameters, you should say Y independently validate video mode parameters, you should say Y
here. here.
config FB_NVIDIA_DEBUG
bool "Lots of debug output"
depends on FB_NVIDIA
default n
help
Say Y here if you want the nVidia driver to output all sorts
of debugging information to provide to the maintainer when
something goes wrong.
config FB_NVIDIA_BACKLIGHT config FB_NVIDIA_BACKLIGHT
bool "Support for backlight control" bool "Support for backlight control"
depends on FB_NVIDIA depends on FB_NVIDIA
...@@ -835,7 +844,7 @@ config FB_RIVA_I2C ...@@ -835,7 +844,7 @@ config FB_RIVA_I2C
here. here.
config FB_RIVA_DEBUG config FB_RIVA_DEBUG
bool "Lots of debug output from Riva(nVidia) driver" bool "Lots of debug output"
depends on FB_RIVA depends on FB_RIVA
default n default n
help help
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include "nv_proto.h" #include "nv_proto.h"
#include "nv_dma.h" #include "nv_dma.h"
#undef CONFIG_FB_NVIDIA_DEBUG
#ifdef CONFIG_FB_NVIDIA_DEBUG #ifdef CONFIG_FB_NVIDIA_DEBUG
#define NVTRACE printk #define NVTRACE printk
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment