From: Tom Rini Date: Sat, 20 Mar 2021 19:36:55 -0400 Subject: [PATCH 3/4] pinctrl: mediatek: do not probe gpio driver if not enabled In-Reply-To: <1ece86a9473a5f45ab36afd843c6e25cbaf08e4b.1614909515.git.weijie.gao@mediatek.com> References: <1ece86a9473a5f45ab36afd843c6e25cbaf08e4b.1614909515.git.weijie.gao@mediatek.com> Message-ID: <20210320233655.GI1310@bill-the-cat> 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, Mar 05, 2021 at 10:22:26AM +0800, Weijie Gao wrote: > The mtk pinctrl driver is a combination driver with support for both > pinctrl and gpio. When this driver is used in SPL, gpio support may not be > enabled, and this will result in a compilation error. > > To fix this, macros are added to make sure gpio related code will only be > compiled when gpio support is enabled. > > Signed-off-by: Weijie Gao Applied to u-boot/next, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: