Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f07675c authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Linus Walleij
Browse files

pinctrl: aspeed: Wrap -Woverride-init with cc-option



Clang does not support this option:

warning: unknown warning option '-Woverride-init'; did you mean
'-Woverride-module'? [-Wunknown-warning-option]
1 warning generated.

Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
Acked-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Acked-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9a2a566a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# Aspeed pinctrl support

ccflags-y += -Woverride-init
ccflags-y += $(call cc-option,-Woverride-init)
obj-$(CONFIG_PINCTRL_ASPEED)	+= pinctrl-aspeed.o
obj-$(CONFIG_PINCTRL_ASPEED_G4)	+= pinctrl-aspeed-g4.o
obj-$(CONFIG_PINCTRL_ASPEED_G5)	+= pinctrl-aspeed-g5.o