.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Machine interface for the pinctrl subsystem. |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Based on bits of regulator core, gpio core and clk core |
---|
7 | 8 | * |
---|
8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
---|
9 | | - * |
---|
10 | | - * License terms: GNU General Public License (GPL) version 2 |
---|
11 | 10 | */ |
---|
12 | 11 | #ifndef __LINUX_PINCTRL_MACHINE_H |
---|
13 | 12 | #define __LINUX_PINCTRL_MACHINE_H |
---|
.. | .. |
---|
154 | 153 | |
---|
155 | 154 | extern int pinctrl_register_mappings(const struct pinctrl_map *map, |
---|
156 | 155 | unsigned num_maps); |
---|
| 156 | +extern void pinctrl_unregister_mappings(const struct pinctrl_map *map); |
---|
157 | 157 | extern void pinctrl_provide_dummies(void); |
---|
158 | 158 | #else |
---|
159 | 159 | |
---|
.. | .. |
---|
163 | 163 | return 0; |
---|
164 | 164 | } |
---|
165 | 165 | |
---|
| 166 | +static inline void pinctrl_unregister_mappings(const struct pinctrl_map *map) |
---|
| 167 | +{ |
---|
| 168 | +} |
---|
| 169 | + |
---|
166 | 170 | static inline void pinctrl_provide_dummies(void) |
---|
167 | 171 | { |
---|
168 | 172 | } |
---|