Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / gpio / gpiolib-swnode.h
blobaf849e56f6bce99454328117fa8cadd4397396f3
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef GPIOLIB_SWNODE_H
4 #define GPIOLIB_SWNODE_H
6 struct fwnode_handle;
7 struct gpio_desc;
9 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode,
10 const char *con_id, unsigned int idx,
11 unsigned long *flags);
12 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
14 #endif /* GPIOLIB_SWNODE_H */