hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/pinctrl/machine.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Machine interface for the pinctrl subsystem.
34 *
....@@ -6,8 +7,6 @@
67 * Based on bits of regulator core, gpio core and clk core
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9
- *
10
- * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_MACHINE_H
1312 #define __LINUX_PINCTRL_MACHINE_H
....@@ -154,6 +153,7 @@
154153
155154 extern int pinctrl_register_mappings(const struct pinctrl_map *map,
156155 unsigned num_maps);
156
+extern void pinctrl_unregister_mappings(const struct pinctrl_map *map);
157157 extern void pinctrl_provide_dummies(void);
158158 #else
159159
....@@ -163,6 +163,10 @@
163163 return 0;
164164 }
165165
166
+static inline void pinctrl_unregister_mappings(const struct pinctrl_map *map)
167
+{
168
+}
169
+
166170 static inline void pinctrl_provide_dummies(void)
167171 {
168172 }