summaryrefslogtreecommitdiff
path: root/udev_remove.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 /udev_remove.c
parent8673dcb84299fd2adba6281c5359bed4399d5b2d (diff)
[PATCH] rename udevdb* to udev_db*
Diffstat (limited to 'udev_remove.c')
-rw-r--r--udev_remove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/udev_remove.c b/udev_remove.c
index 56834a45b9..32cd785984 100644
--- a/udev_remove.c
+++ b/udev_remove.c
@@ -33,9 +33,9 @@
#include "udev.h"
#include "udev_lib.h"
#include "udev_version.h"
-#include "logging.h"
#include "namedev.h"
-#include "udevdb.h"
+#include "udev_db.h"
+#include "logging.h"
static int delete_path(const char *path)
{
@@ -175,7 +175,7 @@ int udev_remove_device(struct udevice *udev)
if (udev->type != 'b' && udev->type != 'c')
return 0;
- retval = udevdb_get_dev(udev);
+ retval = udev_db_get_device(udev);
if (retval) {
/* fall back to kernel name */
temp = strrchr(udev->devpath, '/');
@@ -186,7 +186,7 @@ int udev_remove_device(struct udevice *udev)
}
dbg("remove name='%s'", udev->name);
- udevdb_delete_dev(udev);
+ udev_db_delete_device(udev);
/* use full path to the environment */
snprintf(udev->devname, NAME_SIZE, "%s/%s", udev_root, udev->name);