summaryrefslogtreecommitdiff
path: root/lib/smbios-parser.c
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2021-03-05 10:22:26 +0800
committerTom Rini <trini@konsulko.com>2021-03-20 16:24:27 -0400
commit70a2b4220e55105aa6c970589a6a96d2714751f4 (patch)
tree559fc6b73b19229f1c5e1868fba2accb23f16400 /lib/smbios-parser.c
parente254d2c0a44183b9ec1da81578a7bb7d548bdf60 (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. Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'lib/smbios-parser.c')
0 files changed, 0 insertions, 0 deletions