summaryrefslogtreecommitdiffstats
path: root/sys/compat/linuxkpi/common/include/linux/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/sysfs.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sysfs.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/sysfs.h b/sys/compat/linuxkpi/common/include/linux/sysfs.h
index e565e43..a102d43 100644
--- a/sys/compat/linuxkpi/common/include/linux/sysfs.h
+++ b/sys/compat/linuxkpi/common/include/linux/sysfs.h
@@ -31,13 +31,11 @@
#ifndef _LINUX_SYSFS_H_
#define _LINUX_SYSFS_H_
+#include <sys/types.h>
#include <sys/sysctl.h>
+#include <sys/errno.h>
-struct attribute {
- const char *name;
- struct module *owner;
- mode_t mode;
-};
+#include <linux/kobject.h>
struct sysfs_ops {
ssize_t (*show)(struct kobject *, struct attribute *, char *);
OpenPOWER on IntegriCloud