From: Jean Delvare Date: Fri, 11 May 2007 05:23:29 +0000 (-0700) Subject: nvidiafb: Enable debugging messages a Kconfig option X-Git-Tag: MMI-PSA29.97-13-9~43182 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=647f2e7aeef833272c17a5366680321c3def3f23;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git nvidiafb: Enable debugging messages a Kconfig option Let the user enable debugging messages in nvidiafb. Signed-off-by: Jean Delvare Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 13bcead8b1b4..eebcb708cff1 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -796,6 +796,15 @@ config FB_NVIDIA_I2C independently validate video mode parameters, you should say Y 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 bool "Support for backlight control" depends on FB_NVIDIA @@ -835,7 +844,7 @@ config FB_RIVA_I2C here. config FB_RIVA_DEBUG - bool "Lots of debug output from Riva(nVidia) driver" + bool "Lots of debug output" depends on FB_RIVA default n help diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index f85edf084da3..41f63658572f 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -37,7 +37,6 @@ #include "nv_proto.h" #include "nv_dma.h" -#undef CONFIG_FB_NVIDIA_DEBUG #ifdef CONFIG_FB_NVIDIA_DEBUG #define NVTRACE printk #else