From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Fri, 18 Oct 2019 22:25:18 +0200 Subject: [U-Boot] [PATCH] dm: pinctrl: fix for introduce PINCONF_RECURSIVE option In-Reply-To: <20191018182922.22960-1-patrick.delaunay@st.com> References: <20191018182922.22960-1-patrick.delaunay@st.com> Message-ID: <20191018222518.65a61fbc@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 18 Oct 2019 20:29:22 +0200 Patrick Delaunay wrote: > Correct the name of the define used in CONFIG_IS_ENABLED(): > it is not align with Kconfig name= CONFIG_$(SPL_)PINCONF_RECURSIVE. > > This correct a regression introduced by > commit c20851b3d850 ("dm: pinctrl: introduce PINCONF_RECURSIVE > option") > > Signed-off-by: Patrick Delaunay > --- > > drivers/pinctrl/pinctrl-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/pinctrl-uclass.c > b/drivers/pinctrl/pinctrl-uclass.c index 0b1eb7fab4..dc2340b779 100644 > --- a/drivers/pinctrl/pinctrl-uclass.c > +++ b/drivers/pinctrl/pinctrl-uclass.c > @@ -157,7 +157,7 @@ static int pinconfig_post_bind(struct udevice > *dev) > UCLASS_DRIVER(pinconfig) = { > .id = UCLASS_PINCONFIG, > -#if CONFIG_IS_ENABLED(PINCONFIG_RECURSIVE) > +#if CONFIG_IS_ENABLED(PINCONF_RECURSIVE) > .post_bind = pinconfig_post_bind, > #endif > .name = "pinconfig", Reviewed-by: Lukasz Majewski Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: