1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/types.h>
10 #ifdef CONFIG_GPIO_CDEV
12 int gpiolib_cdev_register(struct gpio_device *gdev, dev_t devt);
13 void gpiolib_cdev_unregister(struct gpio_device *gdev);
17 static inline int gpiolib_cdev_register(struct gpio_device *gdev, dev_t devt)
22 static inline void gpiolib_cdev_unregister(struct gpio_device *gdev)
26 #endif /* CONFIG_GPIO_CDEV */
28 #endif /* GPIOLIB_CDEV_H */