Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107771771
D43022.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
D43022.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/sysfs.h b/sys/compat/linuxkpi/common/include/linux/sysfs.h
--- a/sys/compat/linuxkpi/common/include/linux/sysfs.h
+++ b/sys/compat/linuxkpi/common/include/linux/sysfs.h
@@ -152,6 +152,15 @@
sysctl_remove_name(kobj->oidp, attr->name, 1, 1);
}
+static inline int
+sysfs_create_link(struct kobject *kobj __unused,
+ struct kobject *target __unused, const char *name __unused)
+{
+ /* TODO */
+
+ return (0);
+}
+
static inline int
sysfs_create_files(struct kobject *kobj, const struct attribute * const *attrs)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 2:26 AM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15915888
Default Alt Text
D43022.diff (577 B)
Attached To
Mode
D43022: linuxkpi: Add `sysfs_create_link()` in <linux/sysfs.h>
Attached
Detach File
Event Timeline
Log In to Comment