summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/Makefile
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-11-22 10:45:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-25 11:50:53 -0800
commitd2601699d3381525d87cc7ccb3e886697c5af812 (patch)
tree5bf3f0967aefd8fd2a55b2e3c05778343cc2012b /drivers/staging/comedi/Makefile
parentf9a431f2e0a680cdf4fad43762c302d062fa10d0 (diff)
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/Makefile')
-rw-r--r--drivers/staging/comedi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/Makefile b/drivers/staging/comedi/Makefile
index e6dfc98f8c8e..fae2d9090006 100644
--- a/drivers/staging/comedi/Makefile
+++ b/drivers/staging/comedi/Makefile
@@ -1,3 +1,5 @@
+ccflags-$(CONFIG_COMEDI_DEBUG) := -DDEBUG
+
comedi-y := comedi_fops.o range.o drivers.o \
comedi_buf.o
comedi-$(CONFIG_COMEDI_PCI_DRIVERS) += comedi_pci.o