summaryrefslogtreecommitdiff
path: root/udevdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'udevdb.h')
-rw-r--r--udevdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevdb.h b/udevdb.h
index 97e1f9bc40..d6c58ae766 100644
--- a/udevdb.h
+++ b/udevdb.h
@@ -13,7 +13,7 @@ extern void udevdb_exit(void);
extern int udevdb_init(int init_flag);
extern int udevdb_add_dev(const char *path, const struct udevice *dev);
-extern struct udevice *udevdb_get_dev(const char *path);
+extern int udevdb_get_dev(const char *path, struct udevice *dev);
extern int udevdb_delete_dev(const char *path);
#endif /* _UDEVDB_H_ */