spi: nxp_fspi: Ensure width is respected in spi-mem operations
[platform/kernel/u-boot.git] / drivers / axi / sandbox_store.c
index d724f19..ef349a5 100644 (file)
@@ -7,6 +7,8 @@
 #include <common.h>
 #include <axi.h>
 #include <dm.h>
+#include <log.h>
+#include <malloc.h>
 
 /**
  * struct sandbox_store_priv - Private data structure of a AXI store device
@@ -117,7 +119,7 @@ U_BOOT_DRIVER(sandbox_axi_store) = {
        .id             = UCLASS_AXI_EMUL,
        .of_match       = sandbox_store_ids,
        .ops            = &sandbox_store_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_store_priv),
+       .priv_auto      = sizeof(struct sandbox_store_priv),
        .probe          = sandbox_store_probe,
        .remove         = sandbox_store_remove,
 };