Re: [PATCH 3/4] pinctrl: mediatek: do not probe gpio driver if not enabled

2021-03-20 Thread Tom Rini
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

[PATCH 3/4] pinctrl: mediatek: do not probe gpio driver if not enabled

2021-03-04 Thread Weijie Gao
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