mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] pinctrl: intel: Pass CONFIG_DEBUG_PINCTRL to drivers
@ 2014-12-04 10:32 Mika Westerberg
  2014-12-04 10:32 ` [PATCH 2/2] pinctrl: cherryview: Save and restore pin configs over system sleep Mika Westerberg
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mika Westerberg @ 2014-12-04 10:32 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Heikki Krogerus, linux-gpio, linux-kernel, Mika Westerberg

If the user has selected CONFIG_DEBUG_PINCTRL=y make sure that Intel
pinctrl drivers will be compiled with that option as well.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/pinctrl/intel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pinctrl/intel/Makefile b/drivers/pinctrl/intel/Makefile
index 4c210e4139e2..1f63cf1c18b2 100644
--- a/drivers/pinctrl/intel/Makefile
+++ b/drivers/pinctrl/intel/Makefile
@@ -1,4 +1,6 @@
 # Intel pin control drivers
 
+ccflags-$(CONFIG_DEBUG_PINCTRL)	+= -DDEBUG
+
 obj-$(CONFIG_PINCTRL_BAYTRAIL)		+= pinctrl-baytrail.o
 obj-$(CONFIG_PINCTRL_CHERRYVIEW)	+= pinctrl-cherryview.o
-- 
2.1.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-09  9:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04 10:32 [PATCH 1/2] pinctrl: intel: Pass CONFIG_DEBUG_PINCTRL to drivers Mika Westerberg
2014-12-04 10:32 ` [PATCH 2/2] pinctrl: cherryview: Save and restore pin configs over system sleep Mika Westerberg
2015-01-09  9:45   ` Linus Walleij
2015-01-07 10:25 ` [PATCH 1/2] pinctrl: intel: Pass CONFIG_DEBUG_PINCTRL to drivers Mika Westerberg
2015-01-09  9:42 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome