Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pinctrl: remove extern specifier for functions in machine.h

Extern is the default specifier for a function, no need to define it.

Suggested-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/20250520-aaeon-up-board-pinctrl-support-v6-2-dcb3756be3c6@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Thomas Richard and committed by
Linus Walleij
223657cf 1c9977b2

+4 -4
+4 -4
include/linux/pinctrl/machine.h
··· 153 153 154 154 #ifdef CONFIG_PINCTRL 155 155 156 - extern int pinctrl_register_mappings(const struct pinctrl_map *map, 157 - unsigned int num_maps); 158 - extern void pinctrl_unregister_mappings(const struct pinctrl_map *map); 159 - extern void pinctrl_provide_dummies(void); 156 + int pinctrl_register_mappings(const struct pinctrl_map *map, 157 + unsigned int num_maps); 158 + void pinctrl_unregister_mappings(const struct pinctrl_map *map); 159 + void pinctrl_provide_dummies(void); 160 160 #else 161 161 162 162 static inline int pinctrl_register_mappings(const struct pinctrl_map *map,