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

Commit f52a0c7b authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Walleij
Browse files

gpio: stubs in headers should be inline



Fixes: fdd61a01 ("gpio: Add support for hierarchical IRQ domains")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20190816213812.40a130db@canb.auug.org.au


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f3260e3e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)