summaryrefslogtreecommitdiff
path: root/udev_remove.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-21 13:48:10 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:36:13 -0700
commit8f2f6e426fc4cc1fa39b864a1792428a4269b751 (patch)
treeefacf88145a24ec9767099c50f313b4900dc5e86 /udev_remove.c
parent311a2b0a1d65a1bd02bbedda0dda90f10d6b6788 (diff)
[PATCH] cleanup db functions
Diffstat (limited to 'udev_remove.c')
-rw-r--r--udev_remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_remove.c b/udev_remove.c
index 0ba6962cad..22a363ed34 100644
--- a/udev_remove.c
+++ b/udev_remove.c
@@ -150,7 +150,7 @@ int udev_remove_device(struct udevice *udev)
if (udev->type != BLOCK && udev->type != CLASS)
return 0;
- retval = udev_db_get_device(udev);
+ retval = udev_db_get_device_by_devpath(udev, udev->devpath);
if (retval) {
/* fall back to kernel name */
temp = strrchr(udev->devpath, '/');