![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 0003 #ifndef GPIOLIB_SYSFS_H 0004 #define GPIOLIB_SYSFS_H 0005 0006 #ifdef CONFIG_GPIO_SYSFS 0007 0008 int gpiochip_sysfs_register(struct gpio_device *gdev); 0009 void gpiochip_sysfs_unregister(struct gpio_device *gdev); 0010 0011 #else 0012 0013 static inline int gpiochip_sysfs_register(struct gpio_device *gdev) 0014 { 0015 return 0; 0016 } 0017 0018 static inline void gpiochip_sysfs_unregister(struct gpio_device *gdev) 0019 { 0020 } 0021 0022 #endif /* CONFIG_GPIO_SYSFS */ 0023 0024 #endif /* GPIOLIB_SYSFS_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |