From 9d496c74f3a6b1963727b515126e87e64abe046c Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Tue, 21 Oct 2003 22:28:32 -0700 Subject: [PATCH] got rid of struct device_attr namedev.c is still a mess, that's up next after testing... --- namedev.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'namedev.h') 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 -- cgit v1.2.3-54-g00ecf