Skip to content

Commit

Permalink
gpio: stubs in headers should be inline
Browse files Browse the repository at this point in the history
Fixes: fdd61a0 ("gpio: Add support for hierarchical IRQ domains")
Signed-off-by: Stephen Rothwell <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
sfrothwell authored and linusw committed Aug 20, 2019
1 parent f3260e3 commit f52a0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/gpio/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f52a0c7

Please sign in to comment.