summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/sysfs.h
blob: 409373609b09bc2b0f879f1a89126666e7c41603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Public domain. */

#ifndef _LINUX_SYSFS_H
#define _LINUX_SYSFS_H

#include <linux/kernfs.h>

struct attribute {
	const char *name;
	int mode;
};

struct bin_attribute {
};

struct attribute_group {
	const char *name;
	struct attribute **attrs;
	struct bin_attribute **bin_attrs;
};

#define sysfs_create_link(x, y, z)	0
#define sysfs_remove_link(x, y)
#define sysfs_create_group(x, y)	0
#define sysfs_remove_group(x, y)
#define sysfs_remove_file(x, y)
#define sysfs_remove_file_from_group(x, y, z)

#endif