diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-09-26 21:38:09 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-28 09:27:04 +0200 |
commit | ad335bee6ceda5770d295b32c39473c516145698 (patch) | |
tree | 0ea3a3396cb21e0600196b1da3dd66c345495b7f /arch/x86/include/asm | |
parent | 7a52127e3cf170ae71dadefef4ec82fb600cde2d (diff) | |
download | talos-obmc-linux-ad335bee6ceda5770d295b32c39473c516145698.tar.gz talos-obmc-linux-ad335bee6ceda5770d295b32c39473c516145698.zip |
pinctrl: mediatek: mark dummy helpers as 'static inline'
mtk_eint_set_debounce and mtk_eint_find_irq are defined as stub functions
in a header file, but without marking them as 'static inline', we get
a copy for each file that includes the header:
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.o: In function `mtk_eint_set_debounce':
pinctrl-mtk-common-v2.c:(.text+0x134): multiple definition of `mtk_eint_set_debounce'
drivers/pinctrl/mediatek/pinctrl-moore.o:pinctrl-moore.c:(.text+0x7d0): first defined here
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.o: In function `mtk_eint_find_irq':
pinctrl-mtk-common-v2.c:(.text+0x13c): multiple definition of `mtk_eint_find_irq'
Fixes: e46df235b4e6 ("pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions