]> git.baikalelectronics.ru Git - uboot.git/commit
pinctrl: mscc: Fix multiple definition error
authorTom Rini <trini@konsulko.com>
Mon, 3 May 2021 20:48:56 +0000 (16:48 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 7 Jul 2021 14:17:54 +0000 (10:17 -0400)
commitbbdc02f2c4254d26ee6f7f315d144a797b608324
tree3eb0c7e04f544de162c2547c6b77a09a5c38af60
parentfc0668e071d2841cc64fab3f18c617e3b3ee350c
pinctrl: mscc: Fix multiple definition error

With gcc-11 we get a multiple errors here as the declarations for
mscc_pinctrl_ops and mscc_gpio_ops are missing an extern.

CC: Gregory CLEMENT <gregory.clement@bootlin.com>
Cc: Lars Povlsen <lars.povlsen@microchip.com>
Cc: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/pinctrl/mscc/mscc-common.h