commit | f4154da70e0fa590f34dafbf84871028b7290c5f | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Mar 05 10:22:26 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Sat Mar 20 16:24:27 2021 -0400 |
tree | 559fc6b73b19229f1c5e1868fba2accb23f16400 | |
parent | 0163c08e12f26dcdbd952e70cbad0440f2cf392a [diff] |
pinctrl: mediatek: do not probe gpio driver if not enabled 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.