diff mbox

pinctrl: ti: The IODelay driver is a DRA7xxx feature so depend on that SoC

Message ID 20170302174636.6662-1-pbrobinson@gmail.com
State New
Headers show

Commit Message

Peter Robinson March 2, 2017, 5:46 p.m. UTC
As the IODelay driver is a hardware feature of the  DRA7xxx SoC
depend on that SoC and compile test.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/pinctrl/ti/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tony Lindgren March 2, 2017, 5:57 p.m. UTC | #1
* Peter Robinson <pbrobinson@gmail.com> [170302 09:48]:
> As the IODelay driver is a hardware feature of the  DRA7xxx SoC
> depend on that SoC and compile test.

Acked-by: Tony Lindgren <tony@atomide.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij March 14, 2017, 3:05 p.m. UTC | #2
On Thu, Mar 2, 2017 at 6:46 PM, Peter Robinson <pbrobinson@gmail.com> wrote:

> As the IODelay driver is a hardware feature of the  DRA7xxx SoC
> depend on that SoC and compile test.
>
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Patch applied for fixes with Tony's ACK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pinctrl/ti/Kconfig b/drivers/pinctrl/ti/Kconfig
index 815a886..5420770 100644
--- a/drivers/pinctrl/ti/Kconfig
+++ b/drivers/pinctrl/ti/Kconfig
@@ -1,6 +1,6 @@ 
 config PINCTRL_TI_IODELAY
 	tristate "TI IODelay Module pinconf driver"
-	depends on OF
+	depends on OF && (SOC_DRA7XX || COMPILE_TEST)
 	select GENERIC_PINCTRL_GROUPS
 	select GENERIC_PINMUX_FUNCTIONS
 	select GENERIC_PINCONF