summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-stm32mp/bbu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32mp/bbu.c')
-rw-r--r--arch/arm/mach-stm32mp/bbu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-stm32mp/bbu.c b/arch/arm/mach-stm32mp/bbu.c
index 545965198f..5d6d61db7d 100644
--- a/arch/arm/mach-stm32mp/bbu.c
+++ b/arch/arm/mach-stm32mp/bbu.c
@@ -11,7 +11,7 @@
#include <linux/sizes.h>
#include <linux/stat.h>
#include <ioctl.h>
-#include <mach/bbu.h>
+#include <mach/stm32mp/bbu.h>
#include <libfile.h>
#include <linux/bitfield.h>
@@ -129,7 +129,7 @@ static int stm32mp_bbu_mmc_fip_handler(struct bbu_handler *handler,
pr_debug("Handling %s\n", file_type_to_string(filetype));
- data->flags |= BBU_FLAG_MMC_BOOT_ACK;
+ handler->flags |= BBU_HANDLER_FLAG_MMC_BOOT_ACK;
ret = bbu_mmcboot_handler(handler, data, stm32mp_bbu_mmc_update);
if (ret == -ENOENT) {