diff options
author | Thomas Richard <thomas.richard@bootlin.com> | 2025-05-20 15:28:26 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-05-21 10:09:41 +0200 |
commit | 223657cfc87c3d5b9c2172014181c8ed7acf58e8 (patch) | |
tree | 8fd0307eed9dc84f42386960d5f42c0a22b4f70e | |
parent | 1c9977b263475373b31bbf86af94a5c9ae2be42c (diff) |
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>
-rw-r--r-- | include/linux/pinctrl/machine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h index 673e96df453b..0940fabb154d 100644 --- a/include/linux/pinctrl/machine.h +++ b/include/linux/pinctrl/machine.h @@ -153,10 +153,10 @@ struct pinctrl_map; #ifdef CONFIG_PINCTRL -extern int pinctrl_register_mappings(const struct pinctrl_map *map, - unsigned int num_maps); -extern void pinctrl_unregister_mappings(const struct pinctrl_map *map); -extern void pinctrl_provide_dummies(void); +int pinctrl_register_mappings(const struct pinctrl_map *map, + unsigned int num_maps); +void pinctrl_unregister_mappings(const struct pinctrl_map *map); +void pinctrl_provide_dummies(void); #else static inline int pinctrl_register_mappings(const struct pinctrl_map *map, |