diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-16 17:00:02 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-16 17:17:23 -0500 |
commit | b5fd066153c40a70a29caa1ea7987723ab687763 (patch) | |
tree | 6d43a8b0a90d549a54c65565ac96c92b3e84b594 /c_src/include/linux/sysfs.h | |
parent | 06ff8b55b70fda44d91b31b5511fafd1680a8934 (diff) |
Move c_src dirs back to toplevel
We just wanted c sourcefiles out of the top level, not c source
directories.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src/include/linux/sysfs.h')
-rw-r--r-- | c_src/include/linux/sysfs.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/c_src/include/linux/sysfs.h b/c_src/include/linux/sysfs.h deleted file mode 100644 index cb75d88b..00000000 --- a/c_src/include/linux/sysfs.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef _SYSFS_H_ -#define _SYSFS_H_ - -#include <linux/compiler.h> - -struct kobject; - -struct attribute { - const char *name; - umode_t mode; -}; - -struct attribute_group { - struct attribute **attrs; -}; - -struct sysfs_ops { - ssize_t (*show)(struct kobject *, struct attribute *, char *); - ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); -}; - -static inline int sysfs_create_files(struct kobject *kobj, - const struct attribute **attr) -{ - return 0; -} - -static inline int sysfs_create_link(struct kobject *kobj, - struct kobject *target, const char *name) -{ - return 0; -} - -static inline void sysfs_remove_link(struct kobject *kobj, const char *name) -{ -} - -#endif /* _SYSFS_H_ */ |