X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_db.h;h=5065eaa6c694edd5153307774ef51cdff3d2c170;hb=f8a178a35b8dee2ee46a3de298345aa4faa8f41e;hp=141c586f24702091eb43b2ff4da35b47408d8af7;hpb=02fa9ae58920b431bc37182716dd863f1c482651;p=elogind.git diff --git a/udev_db.h b/udev_db.h index 141c586f2..5065eaa6c 100644 --- 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_byname(struct udevice *udev, const char *name); +extern int udev_db_get_device_by_devpath(struct udevice *dev, const char *devpath); +extern int udev_db_get_device_by_name(struct udevice *udev, const char *name); #endif /* _UDEV_DB_H_ */