offset_to_ofnode(of_offset), 0, devp);
}
+int device_bind_ofnode(struct udevice *parent, const struct driver *drv,
+ const char *name, void *platdata, ofnode node,
+ struct udevice **devp)
+{
+ return device_bind_common(parent, drv, name, platdata, 0, node, 0,
+ devp);
+}
+
int device_bind_by_name(struct udevice *parent, bool pre_reloc_only,
const struct driver_info *info, struct udevice **devp)
{
const char *name, void *platdata, int of_offset,
struct udevice **devp);
+int device_bind_ofnode(struct udevice *parent, const struct driver *drv,
+ const char *name, void *platdata, ofnode node,
+ struct udevice **devp);
+
/**
* device_bind_with_driver_data() - Create a device and bind it to a driver
*