summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-12 06:32:19 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:25:14 -0700
commit02fa9ae58920b431bc37182716dd863f1c482651 (patch)
tree5fa9d6807631227f8538caab665e326eefadc8bb /namedev.c
parent8673dcb84299fd2adba6281c5359bed4399d5b2d (diff)
[PATCH] rename udevdb* to udev_db*
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/namedev.c b/namedev.c
index 9c94e69082..3ab45d4ec6 100644
--- a/namedev.c
+++ b/namedev.c
@@ -40,7 +40,7 @@
#include "udev_version.h"
#include "logging.h"
#include "namedev.h"
-#include "udevdb.h"
+#include "udev_db.h"
static struct sysfs_attribute *find_sysfs_attribute(struct sysfs_class_device *class_dev, struct sysfs_device *sysfs_device, char *attr);
@@ -194,7 +194,7 @@ static int find_free_number(struct udevice *udev, const char *name)
while (1) {
dbg("look for existing node '%s'", filename);
memset(&db_udev, 0x00, sizeof(struct udevice));
- if (udevdb_get_dev_byname(&db_udev, filename) != 0) {
+ if (udev_db_get_device_byname(&db_udev, filename) != 0) {
dbg("free num=%d", num);
return num;
}