summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-07-19 05:06:55 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:39 -0700
commit19dc5d4ce15ad387031ec4e78dc615a9eb07dc08 (patch)
treeaf26ff6a60e54904ce471844f7a9241d9dbbf67a /namedev.h
parentfa41b24051d9ac53cba45c0bb78623d4c0a5e5d6 (diff)
[PATCH] Clean up the namedev interface a bit, making the code smaller...
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/namedev.h b/namedev.h
index 1fe5860015..0e3a819952 100644
--- a/namedev.h
+++ b/namedev.h
@@ -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