summaryrefslogtreecommitdiff
path: root/udev_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_db.h')
-rw-r--r--udev_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_db.h b/udev_db.h
index 6a0647f200..2fce06be72 100644
--- a/udev_db.h
+++ b/udev_db.h
@@ -28,7 +28,7 @@
extern int udev_db_add_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_by_devpath(struct udevice *udev, const char *devpath);
extern int udev_db_get_device_by_name(struct udevice *udev, const char *name);
extern int udev_db_call_foreach(int (*handler_function)(struct udevice *udev));