]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/dm/device-internal.h
dm: core: Convert driver_bind() to use const
[karo-tx-uboot.git] / include / dm / device-internal.h
index e2418fedb976deb9d57ed13a350a26d9ab7190eb..687462b093424a9e3706df839fa3846ef82dbe37 100644 (file)
@@ -34,7 +34,7 @@ struct udevice;
  * @devp: Returns a pointer to the bound device
  * @return 0 if OK, -ve on error
  */
-int device_bind(struct udevice *parent, struct driver *drv,
+int device_bind(struct udevice *parent, const struct driver *drv,
                const char *name, void *platdata, int of_offset,
                struct udevice **devp);