]> git.dujemihanovic.xyz Git - u-boot.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)
commit5503435838f946697e78b9564a45595380a66dff
tree3eb0c7e04f544de162c2547c6b77a09a5c38af60
parent265724cb22d5317eac626e6e773c53e4a0134170
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