diff options
Diffstat (limited to 'arch/arm/boards/stm32mp15xx-dkx/board.c')
-rw-r--r-- | arch/arm/boards/stm32mp15xx-dkx/board.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/boards/stm32mp15xx-dkx/board.c b/arch/arm/boards/stm32mp15xx-dkx/board.c index 1ddfee698d..1783c5ca17 100644 --- a/arch/arm/boards/stm32mp15xx-dkx/board.c +++ b/arch/arm/boards/stm32mp15xx-dkx/board.c @@ -1,9 +1,10 @@ // SPDX-License-Identifier: GPL-2.0+ #include <common.h> #include <init.h> -#include <mach/bbu.h> +#include <mach/stm32mp/bbu.h> +#include <deep-probe.h> -static int dkx_probe(struct device_d *dev) +static int dkx_probe(struct device *dev) { const void *model; @@ -23,8 +24,9 @@ static const struct of_device_id dkx_of_match[] = { { .compatible = "st,stm32mp157c-dk2", .data = "STM32MP157C-DK2" }, { /* sentinel */ }, }; +BAREBOX_DEEP_PROBE_ENABLE(dkx_of_match); -static struct driver_d dkx_board_driver = { +static struct driver dkx_board_driver = { .name = "board-stm32mp15xx-dkx", .probe = dkx_probe, .of_compatible = dkx_of_match, |