diff options
author | greg@kroah.com <greg@kroah.com> | 2003-10-21 22:28:32 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:04:10 -0700 |
commit | 9d496c74f3a6b1963727b515126e87e64abe046c (patch) | |
tree | 72802387569d3b4083fd6cac3f4b69c0a1a375b4 /namedev.h | |
parent | d41120879358f783eb1a457f340c1a4b538a9410 (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.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |