summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-28 14:01:43 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:00:29 -0700
commit45a7b668eca398831c0cfc39e4237494b3d603e9 (patch)
tree5511036e08b8163fc42c5df50e4b07a5970daa94 /udev_utils.h
parent4497fcbf7159975560b680fd8130adcd414d3d67 (diff)
[PATCH] remove unused variables
Remove udev.bus, cause it's currently unused and newer kernels will pass it in the hotplug environment as PHYSDEVBUS. Remove udev.action, cause it's unused. Rename udev_set_values() to udev_init_device().
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev_utils.h b/udev_utils.h
index b9b0fda678..e36255f526 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -76,8 +76,7 @@ do { \
# define asmlinkage /* nothing */
#endif
-extern void udev_set_values(struct udevice *udev, const char* devpath,
- const char *subsystem, const char* action);
+extern void udev_init_device(struct udevice *udev, const char* devpath, const char *subsystem);
extern int kernel_release_satisfactory(int version, int patchlevel, int sublevel);
extern int create_path(const char *path);
extern int file_map(const char *filename, char **buf, size_t *bufsize);