summaryrefslogtreecommitdiffstats
path: root/tools/usb/usbip/libsrc/sysfs_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/usb/usbip/libsrc/sysfs_utils.h')
-rw-r--r--tools/usb/usbip/libsrc/sysfs_utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/usb/usbip/libsrc/sysfs_utils.h b/tools/usb/usbip/libsrc/sysfs_utils.h
new file mode 100644
index 000000000..0cd5f17e7
--- /dev/null
+++ b/tools/usb/usbip/libsrc/sysfs_utils.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __SYSFS_UTILS_H
+#define __SYSFS_UTILS_H
+
+int write_sysfs_attribute(const char *attr_path, const char *new_value,
+ size_t len);
+
+#endif