mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: Nathan Chancellor <[email protected]> Acked-by: Andrew Jeffery <[email protected]> Acked-by: Joel Stanley <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
9a2a566adb
commit
7f07675c11
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue