]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/dm/uclass.h
Merge git://git.denx.de/u-boot-fsl-qoriq
[people/ms/u-boot.git] / include / dm / uclass.h
index 84f05bcfceaac482011aed97eca320dfeddecd14..b583aa869b3adc6a84bc7c876272c6b08a7d87ac 100644 (file)
@@ -118,6 +118,14 @@ struct uclass_driver {
  */
 int uclass_get(enum uclass_id key, struct uclass **ucp);
 
+/**
+ * uclass_get_name() - Get the name of a uclass driver
+ *
+ * @id: ID to look up
+ * @returns the name of the uclass driver for that ID, or NULL if none
+ */
+const char *uclass_get_name(enum uclass_id id);
+
 /**
  * uclass_get_device() - Get a uclass device based on an ID and index
  *