@@ -27,6 +27,7 @@
#include <errno.h>
#include "libpdbg.h"
+#include "target.h"
#include "fake.dt.h"
@@ -108,7 +108,6 @@ void pdbg_target_release(struct pdbg_target *target);
enum pdbg_target_status pdbg_target_status(struct pdbg_target *target);
void pdbg_target_status_set(struct pdbg_target *target, enum pdbg_target_status status);
bool pdbg_set_backend(enum pdbg_backend backend, const char *backend_option);
-void *pdbg_default_dtb(void);
uint32_t pdbg_target_index(struct pdbg_target *target);
char *pdbg_target_path(struct pdbg_target *target);
struct pdbg_target *pdbg_target_from_path(struct pdbg_target *target, const char *path);
@@ -62,6 +62,7 @@ bool pdbg_target_is_class(struct pdbg_target *target, const char *class);
extern struct list_head empty_list;
extern struct list_head target_classes;
+void *pdbg_default_dtb(void);
const char *pdbg_get_backend_option(void);
struct sbefifo *pib_to_sbefifo(struct pdbg_target *target);
Applications should never need to know the default fdt to be used. For some reason applications need to get access to the fdt blob, we can add appropriate public api. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- libpdbg/dtb.c | 1 + libpdbg/libpdbg.h | 1 - libpdbg/target.h | 1 + 3 files changed, 2 insertions(+), 1 deletion(-)