summaryrefslogtreecommitdiff
path: root/udev_add.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-12 22:36:32 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commite5e322bc627a07d29a07e08f7c96bd644a3ae057 (patch)
tree48df4dfb03f3e2ea5ddd8dad5686cece3530b35e /udev_add.c
parente6764498e7592f216a1895eacc485448fa4a1660 (diff)
[PATCH] rename namedev_dev to udev_rule
Diffstat (limited to 'udev_add.c')
-rw-r--r--udev_add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_add.c b/udev_add.c
index bf5feb1b2d..8443f65e7c 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -42,7 +42,7 @@
#include "udev_sysfs.h"
#include "udev_version.h"
#include "logging.h"
-#include "namedev.h"
+#include "udev_rules.h"
#include "udev_db.h"
#include "udev_selinux.h"
@@ -276,7 +276,7 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev)
}
}
- if (namedev_name_device(udev, class_dev) != 0)
+ if (udev_rules_get_name(udev, class_dev) != 0)
return 0;
dbg("adding name='%s'", udev->name);