diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-11-22 10:45:38 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-25 11:50:53 -0800 |
commit | d2601699d3381525d87cc7ccb3e886697c5af812 (patch) | |
tree | 5bf3f0967aefd8fd2a55b2e3c05778343cc2012b /drivers/staging/comedi/kcomedilib | |
parent | f9a431f2e0a680cdf4fad43762c302d062fa10d0 (diff) | |
download | linux-d2601699d3381525d87cc7ccb3e886697c5af812.tar.bz2 |
staging: comedi: remove comedi_debug module parameter
Remove this module parameter and use the CONFIG_COMEDI_DEBUG option to
enable normal kernel debugging with -DDEBUG flag.
Remove the #undef DEBUG from all the comedi source files so they will
honour the -DDEBUG flag.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/kcomedilib')
-rw-r--r-- | drivers/staging/comedi/kcomedilib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/kcomedilib/Makefile b/drivers/staging/comedi/kcomedilib/Makefile index 18ee99bdde08..3aff8ed08e2d 100644 --- a/drivers/staging/comedi/kcomedilib/Makefile +++ b/drivers/staging/comedi/kcomedilib/Makefile @@ -1,3 +1,5 @@ +ccflags-$(CONFIG_COMEDI_DEBUG) := -DDEBUG + obj-$(CONFIG_COMEDI_KCOMEDILIB) += kcomedilib.o kcomedilib-objs := kcomedilib_main.o |