Skip to content

Commit 223657c

Browse files
thom24linusw
authored andcommitted
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Thomas Richard <[email protected]> Link: https://lore.kernel.org/20250520-aaeon-up-board-pinctrl-support-v6-2-dcb3756be3c6@bootlin.com Signed-off-by: Linus Walleij <[email protected]>
1 parent 1c9977b commit 223657c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/pinctrl/machine.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ struct pinctrl_map;
153153

154154
#ifdef CONFIG_PINCTRL
155155

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);
160160
#else
161161

162162
static inline int pinctrl_register_mappings(const struct pinctrl_map *map,

0 commit comments

Comments
 (0)