All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>,
	linux-kernel@vger.kernel.org, Jonathan Cameron <jic23@cam.ac.uk>,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH 5/5] iio: add configuration option for debug support
Date: Tue, 16 Jul 2013 17:06:51 +0100	[thread overview]
Message-ID: <a9ec6470-0312-4aca-9c0c-bc178e65898b@email.android.com> (raw)
In-Reply-To: <51E51FBE.6000205@metafoo.de>



Lars-Peter Clausen <lars@metafoo.de> wrote:
>On 07/16/2013 11:58 AM, Jonathan Cameron wrote:
>> On 07/15/2013 03:22 PM, Otavio Salvador wrote:
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> seems a sensible facility to have available.
>> 
>> Applied to the togreg branch of iio.git
>
>Can you update the Kconfig help text?

Good point. Will fix!
>
>>> ---
>>>  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..d1f06f2 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),
>>> +	  sysfs, and debugfs support in Industrial I/O subsystem and
>drivers.
>
>This has nothing to do with either sysfs or debugfs support.
>
>>> +
>>>  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
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-iio"
>in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> 

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

  parent reply	other threads:[~2013-07-16 16:07 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 14:22 [PATCH 1/5] ARM: dts: imx23-evk: enable USB PHY and controller Otavio Salvador
2013-07-15 14:22 ` Otavio Salvador
2013-07-15 14:22 ` [PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle Otavio Salvador
2013-07-15 14:24   ` Marek Vasut
2013-07-15 14:38     ` Otavio Salvador
2013-07-15 23:00       ` Marek Vasut
2013-07-16 12:38         ` Otavio Salvador
2013-07-15 14:22 ` [PATCH 3/5] ARM: dts: imx23-evk: enable Low Resolution ADC Otavio Salvador
2013-07-15 14:22   ` Otavio Salvador
2013-07-15 14:22 ` [PATCH 4/5] ARM: dts: imx23-olinuxino: " Otavio Salvador
2013-07-15 14:22   ` Otavio Salvador
2013-07-15 16:11   ` Alexandre Pereira da Silva
2013-07-15 16:11     ` Alexandre Pereira da Silva
2013-07-15 14:22 ` [PATCH 5/5] iio: add configuration option for debug support Otavio Salvador
2013-07-16  9:58   ` Jonathan Cameron
2013-07-16 10:26     ` Lars-Peter Clausen
2013-07-16 12:01       ` Otavio Salvador
2013-07-16 12:09         ` Lars-Peter Clausen
2013-07-16 16:11           ` Jonathan Cameron
2013-07-16 16:06       ` Jonathan Cameron [this message]
2013-07-15 15:39 ` [PATCH 1/5] ARM: dts: imx23-evk: enable USB PHY and controller Fabio Estevam
2013-07-15 15:39   ` Fabio Estevam
2013-07-15 16:39   ` Otavio Salvador
2013-07-15 16:39     ` Otavio Salvador
2013-07-16  1:30     ` Shawn Guo
2013-07-16  1:30       ` Shawn Guo
2013-07-16 12:25       ` Otavio Salvador
2013-07-16 12:25         ` Otavio Salvador
2013-07-16  3:42 ` Fabio Estevam
2013-07-16  3:42   ` Fabio Estevam
2013-07-16 12:24   ` Otavio Salvador
2013-07-16 12:24     ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9ec6470-0312-4aca-9c0c-bc178e65898b@email.android.com \
    --to=jic23@kernel.org \
    --cc=jic23@cam.ac.uk \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.