summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-21 22:28:32 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:04:10 -0700
commit9d496c74f3a6b1963727b515126e87e64abe046c (patch)
tree72802387569d3b4083fd6cac3f4b69c0a1a375b4 /namedev.h
parentd41120879358f783eb1a457f340c1a4b538a9410 (diff)
[PATCH] got rid of struct device_attr
namedev.c is still a mess, that's up next after testing...
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/namedev.h b/namedev.h
index d5aaae202c..56e6a96c03 100644
--- a/namedev.h
+++ b/namedev.h
@@ -60,11 +60,14 @@ struct config_device {
char exec_program[FILE_SIZE];
/* what to set the device to */
- struct device_attr attr;
+ char name[NAME_SIZE];
+ char owner[OWNER_SIZE];
+ char group[GROUP_SIZE];
+ mode_t mode;
};
extern int namedev_init(void);
-extern int namedev_name_device(struct sysfs_class_device *class_dev, struct device_attr *attr);
+extern int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *dev);
#endif