chiark / gitweb /
[PATCH] trivial namedev cleanup
[elogind.git] / udev_db.h
index 141c586f24702091eb43b2ff4da35b47408d8af7..75f1d982967a0f844b8bee10d19ff9c7c41e2975 100644 (file)
--- a/udev_db.h
+++ b/udev_db.h
@@ -26,9 +26,9 @@
 
 
 extern int udev_db_add_device(struct udevice *dev);
-extern int udev_db_get_device(struct udevice *dev);
 extern int udev_db_delete_device(struct udevice *dev);
 
+extern int udev_db_get_device_by_devpath(struct udevice *dev, const char *devpath);
 extern int udev_db_get_device_byname(struct udevice *udev, const char *name);
 
 #endif /* _UDEV_DB_H_ */