summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/stm32mp15x-ev1/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/stm32mp15x-ev1/board.c')
-rw-r--r--arch/arm/boards/stm32mp15x-ev1/board.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/boards/stm32mp15x-ev1/board.c b/arch/arm/boards/stm32mp15x-ev1/board.c
index b8e26cd37b..fd58e2817b 100644
--- a/arch/arm/boards/stm32mp15x-ev1/board.c
+++ b/arch/arm/boards/stm32mp15x-ev1/board.c
@@ -2,10 +2,11 @@
#include <bootsource.h>
#include <common.h>
+#include <deep-probe.h>
#include <init.h>
-#include <mach/bbu.h>
+#include <mach/stm32mp/bbu.h>
-static int ed1_probe(struct device_d *dev)
+static int ed1_probe(struct device *dev)
{
int flags;
@@ -30,8 +31,9 @@ static const struct of_device_id ed1_of_match[] = {
{ .compatible = "st,stm32mp157c-ed1" },
{ /* sentinel */ },
};
+BAREBOX_DEEP_PROBE_ENABLE(ed1_of_match);
-static struct driver_d ed1_board_driver = {
+static struct driver ed1_board_driver = {
.name = "board-stm32mp15x-ed1",
.probe = ed1_probe,
.of_compatible = ed1_of_match,