efi_loader: add some description about UEFI secure boot
[oweals/u-boot.git] / drivers / reset / sandbox-reset.c
index c310749dc851257b6001542bd226e0c7bcefdf96..bdf53a3de9f8a3c9da6a7ace481a6d707c869ef7 100644 (file)
@@ -1,11 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #include <common.h>
 #include <dm.h>
+#include <malloc.h>
 #include <reset-uclass.h>
 #include <asm/io.h>
 #include <asm/reset.h>
@@ -80,7 +80,7 @@ static const struct udevice_id sandbox_reset_ids[] = {
 
 struct reset_ops sandbox_reset_reset_ops = {
        .request = sandbox_reset_request,
-       .free = sandbox_reset_free,
+       .rfree = sandbox_reset_free,
        .rst_assert = sandbox_reset_assert,
        .rst_deassert = sandbox_reset_deassert,
 };