* [PATCH v2 4/4] iio: add configuration option for debug support [not found] <1373979376-31583-1-git-send-email-otavio@ossystems.com.br> @ 2013-07-16 12:56 ` Otavio Salvador 2013-07-16 16:54 ` Jonathan Cameron 0 siblings, 1 reply; 2+ messages in thread From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw) To: Jonathan Cameron, linux-kernel Cc: Otavio Salvador, Shawn Guo, Jonathan Cameron, linux-iio Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- Changes in v2: - Rework Kconfig help (Lars-Peter Clausen) drivers/iio/Kconfig | 7 +++++++ drivers/iio/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 9af763a..e5d1cfc 100644 --- a/drivers/iio/Kconfig +++ b/drivers/iio/Kconfig @@ -12,6 +12,13 @@ menuconfig IIO if IIO +config IIO_DEBUG + boolean "Debug support for Industrial I/O" + depends on DEBUG_KERNEL + help + Say "yes" to enable debug messaging (like dev_dbg and pr_debug) + support in Industrial I/O subsystem and drivers. + config IIO_BUFFER bool "Enable buffer support within IIO" help diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile index 7a3866c..6e43e5b 100644 --- a/drivers/iio/Makefile +++ b/drivers/iio/Makefile @@ -2,6 +2,8 @@ # Makefile for the industrial I/O core. # +ccflags-$(CONFIG_IIO_DEBUG) := -DDEBUG + obj-$(CONFIG_IIO) += industrialio.o industrialio-y := industrialio-core.o industrialio-event.o inkern.o industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 4/4] iio: add configuration option for debug support 2013-07-16 12:56 ` [PATCH v2 4/4] iio: add configuration option for debug support Otavio Salvador @ 2013-07-16 16:54 ` Jonathan Cameron 0 siblings, 0 replies; 2+ messages in thread From: Jonathan Cameron @ 2013-07-16 16:54 UTC (permalink / raw) To: Otavio Salvador; +Cc: linux-kernel, Shawn Guo, Jonathan Cameron, linux-iio On 07/16/2013 01:56 PM, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Applied to the togreg branch of iio.git in place of v1 > --- > Changes in v2: > - Rework Kconfig help (Lars-Peter Clausen) > > drivers/iio/Kconfig | 7 +++++++ > drivers/iio/Makefile | 2 ++ > 2 files changed, 9 insertions(+) > > diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig > index 9af763a..e5d1cfc 100644 > --- a/drivers/iio/Kconfig > +++ b/drivers/iio/Kconfig > @@ -12,6 +12,13 @@ menuconfig IIO > > if IIO > > +config IIO_DEBUG > + boolean "Debug support for Industrial I/O" > + depends on DEBUG_KERNEL > + help > + Say "yes" to enable debug messaging (like dev_dbg and pr_debug) > + support in Industrial I/O subsystem and drivers. > + > config IIO_BUFFER > bool "Enable buffer support within IIO" > help > diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile > index 7a3866c..6e43e5b 100644 > --- a/drivers/iio/Makefile > +++ b/drivers/iio/Makefile > @@ -2,6 +2,8 @@ > # Makefile for the industrial I/O core. > # > > +ccflags-$(CONFIG_IIO_DEBUG) := -DDEBUG > + > obj-$(CONFIG_IIO) += industrialio.o > industrialio-y := industrialio-core.o industrialio-event.o inkern.o > industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-16 16:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1373979376-31583-1-git-send-email-otavio@ossystems.com.br>
2013-07-16 12:56 ` [PATCH v2 4/4] iio: add configuration option for debug support Otavio Salvador
2013-07-16 16:54 ` Jonathan Cameron
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).