]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: mediatek: fix warning
authorFabien Parent <fparent@baylibre.com>
Thu, 18 Jul 2019 17:08:08 +0000 (19:08 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jul 2019 13:32:10 +0000 (09:32 -0400)
commite66b202eb3aba9f3cf93c2a20d8f28360dfb095f
tree88010a27657a6c5d46408d8f96ce1998962e3495
parent49b10cb4926285b856b207c1f5bb40c75487f08b
pinctrl: mediatek: fix warning

Fix the following warning when CONFIG_PINCONF=n:

drivers/pinctrl/mediatek/pinctrl-mtk-common.c:35:36:
warning: ‘mtk_drive’ defined but not used [-Wunused-const-variable=]
 static const struct mtk_drive_desc mtk_drive[] = {
                                    ^~~~~~~~~

Signed-off-by: Fabien Parent <fparent@baylibre.com>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c