Thread (3 messages) flat view 3 messages, 2 authors, 2015-12-04

[PATCH] ARM: at91: fix pinctrl driver selection

From: Alexandre Belloni <hidden>
Date: 2015-12-04 18:12:04
Also in: lkml

On 04/12/2015 at 17:33:37 +0000, Sudeep Holla wrote :

On 04/12/15 17:18, Alexandre Belloni wrote:
quoted
From: Ludovic Desroches <redacted>

Move the selection of the pinctrl driver to SoC family level since we
have two pinctrl drivers. It is useless to select one which is not
compatible with the SoC.

[abelloni: fixed pm.c when only sama2d2 is selected]
Signed-off-by: Ludovic Desroches <redacted>
Acked-by: Nicolas Ferre <redacted>
Signed-off-by: Alexandre Belloni <redacted>
---
 arch/arm/mach-at91/Kconfig | 6 +++++-
 arch/arm/mach-at91/pm.c    | 7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
[...]
quoted
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c
index 80e277cfcc8b..01cbb17e6f6b 100644
--- a/arch/arm/mach-at91/pm.c
+++ b/arch/arm/mach-at91/pm.c
@@ -41,8 +41,10 @@
  * implementation should be moved down into the pinctrl driver and get
  * called as part of the generic suspend/resume path.
  */
+#ifdef PINCTRL_AT91
Accidentally glanced at this patch when my mail client got hung at this
patch :), I think you mean CONFIG_PINCTRL_AT91 here and later below.

Raah, sure. Thanks!
--
Regards,
Sudeep
-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help