diff options
| author | Patrick Mochel <mochel@osdl.org> | 2002-10-30 14:59:20 -0800 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2002-10-30 14:59:20 -0800 |
| commit | 117e6adf20d8e75f96948c9a896d9bb4396eb87b (patch) | |
| tree | c7c67e896360df331ef1fa4ab45a2d30411a7a9a /include/linux/sysfs.h | |
| parent | b1b782f7b7fced03a6dc51d3e52595fcfc9ac106 (diff) | |
| parent | 8de57ed6e13a1625695c016bf455ec7ebff68031 (diff) | |
Merge bk://ldm@bkbits.net/linux-2.5-kobject
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-kobject
Diffstat (limited to 'include/linux/sysfs.h')
| -rw-r--r-- | include/linux/sysfs.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 7a46c9f0c308..29c3eb8d2c9e 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -9,20 +9,18 @@ #ifndef _SYSFS_H_ #define _SYSFS_H_ -struct driver_dir_entry; -struct attribute; struct kobject; -struct sysfs_ops { - ssize_t (*show)(struct kobject *, struct attribute *,char *, size_t, loff_t); - ssize_t (*store)(struct kobject *,struct attribute *,const char *, size_t, loff_t); -}; - struct attribute { char * name; mode_t mode; }; +struct sysfs_ops { + ssize_t (*show)(struct kobject *, struct attribute *,char *, size_t, loff_t); + ssize_t (*store)(struct kobject *,struct attribute *,const char *, size_t, loff_t); +}; + extern int sysfs_create_dir(struct kobject *); |
