Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.12-rc7 26 lines 478 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef GPIOLIB_SYSFS_H 4#define GPIOLIB_SYSFS_H 5 6struct gpio_device; 7 8#ifdef CONFIG_GPIO_SYSFS 9 10int gpiochip_sysfs_register(struct gpio_device *gdev); 11void gpiochip_sysfs_unregister(struct gpio_device *gdev); 12 13#else 14 15static inline int gpiochip_sysfs_register(struct gpio_device *gdev) 16{ 17 return 0; 18} 19 20static inline void gpiochip_sysfs_unregister(struct gpio_device *gdev) 21{ 22} 23 24#endif /* CONFIG_GPIO_SYSFS */ 25 26#endif /* GPIOLIB_SYSFS_H */