提交 f52a0c7b 编写于 作者: S Stephen Rothwell 提交者: Linus Walleij

gpio: stubs in headers should be inline

Fixes: fdd61a01 ("gpio: Add support for hierarchical IRQ domains")
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20190816213812.40a130db@canb.auug.org.auSigned-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 f3260e3e
......@@ -543,14 +543,14 @@ void gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *chip,
#else
static void gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *chip,
static inline void gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *chip,
struct irq_fwspec *fwspec,
unsigned int parent_hwirq,
unsigned int parent_type)
{
}
static void gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *chip,
static inline void gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *chip,
struct irq_fwspec *fwspec,
unsigned int parent_hwirq,
unsigned int parent_type)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册