gpio: stubs in headers should be inline

Fixes: fdd61a013a ("gpio: Add support for hierarchical IRQ domains")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20190816213812.40a130db@canb.auug.org.au
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Stephen Rothwell 2019-08-16 21:38:12 +10:00 committed by Linus Walleij
parent f3260e3ea1
commit f52a0c7b5e
1 changed files with 2 additions and 2 deletions

View File

@ -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)