diff options
author | greg@kroah.com <greg@kroah.com> | 2003-07-19 05:06:55 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:39 -0700 |
commit | 19dc5d4ce15ad387031ec4e78dc615a9eb07dc08 (patch) | |
tree | af26ff6a60e54904ce471844f7a9241d9dbbf67a /namedev.h | |
parent | fa41b24051d9ac53cba45c0bb78623d4c0a5e5d6 (diff) |
[PATCH] Clean up the namedev interface a bit, making the code smaller...
Diffstat (limited to 'namedev.h')
-rw-r--r-- | namedev.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,6 +23,8 @@ #ifndef NAMEDEV_H #define NAMEDEV_H +struct sysfs_class_device; + /* namedev config files */ #define COMMENT_CHARACTER '#' #define NAMEDEV_CONFIG_ROOT "/home/greg/src/udev/" @@ -30,6 +32,6 @@ #define NAMEDEV_CONFIG_FILE "namedev.config" extern int namedev_init(void); -extern int namedev_name_device(char *device_name, struct device_attr *attr); +extern int namedev_name_device(struct sysfs_class_device *class_dev, struct device_attr *attr); #endif |