xref: /openbsd-src/sys/dev/pci/drm/include/linux/sysfs.h (revision 4e1ee0786f11cc571bd0be17d38e46f635c719fc)
1 /* Public domain. */
2 
3 #ifndef _LINUX_SYSFS_H
4 #define _LINUX_SYSFS_H
5 
6 #include <linux/kernfs.h>
7 
8 struct attribute {
9 	const char *name;
10 	int mode;
11 };
12 
13 struct bin_attribute {
14 };
15 
16 struct attribute_group {
17 	const char *name;
18 	struct attribute **attrs;
19 	struct bin_attribute **bin_attrs;
20 };
21 
22 #define sysfs_create_link(x, y, z)	0
23 #define sysfs_remove_link(x, y)
24 #define sysfs_create_group(x, y)	0
25 #define sysfs_remove_group(x, y)
26 #define sysfs_remove_file(x, y)
27 #define sysfs_remove_file_from_group(x, y, z)
28 #define sysfs_create_files(x, y)	0
29 #define sysfs_remove_files(x, y)
30 
31 #endif
32