Signed-off-by: Jules Maselbas <[email protected]>
---
 common/deep-probe.c  | 4 ++--
 include/deep-probe.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/deep-probe.c b/common/deep-probe.c
index b270a10f7f..69beaf2d80 100644
--- a/common/deep-probe.c
+++ b/common/deep-probe.c
@@ -22,8 +22,8 @@ bool deep_probe_is_supported(void)
                return boardstate;
 
        /* determine boardstate */
-       for (board = &__barebox_deep_probe_start;
-            board != &__barebox_deep_probe_end; board++) {
+       for (board = __barebox_deep_probe_start;
+            board != __barebox_deep_probe_end; board++) {
                const struct of_device_id *matches = board->device_id;
 
                for (; matches->compatible; matches++) {
diff --git a/include/deep-probe.h b/include/deep-probe.h
index e3770fcf0d..9ba9d09ec3 100644
--- a/include/deep-probe.h
+++ b/include/deep-probe.h
@@ -19,8 +19,8 @@ static inline bool deep_probe_is_supported(void)
 }
 #endif
 
-extern struct deep_probe_entry __barebox_deep_probe_start;
-extern struct deep_probe_entry __barebox_deep_probe_end;
+extern struct deep_probe_entry __barebox_deep_probe_start[];
+extern struct deep_probe_entry __barebox_deep_probe_end[];
 
 #define __BAREBOX_DEEP_PROBE_ENABLE(_entry,_device_id)                 \
        static const struct deep_probe_entry _entry                     \
-- 
2.48.1


Reply via email to