Merge branch '2022-01-06-assorted-important-fixes'
[platform/kernel/u-boot.git] / drivers / reset / reset-ti-sci.c
index 99e3d9a..d8510a4 100644 (file)
 #include <common.h>
 #include <dm.h>
 #include <errno.h>
+#include <log.h>
+#include <malloc.h>
 #include <reset-uclass.h>
+#include <dm/device_compat.h>
 #include <linux/err.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
 
@@ -202,6 +205,6 @@ U_BOOT_DRIVER(ti_sci_reset) = {
        .id = UCLASS_RESET,
        .of_match = ti_sci_reset_of_match,
        .probe = ti_sci_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_sci_reset_data),
+       .priv_auto      = sizeof(struct ti_sci_reset_data),
        .ops = &ti_sci_reset_ops,
 };