Export bus probing functions
Rename and export
* probe_bus() as flashprog_bus_probe(), and
* chip_on_bus() as flashprog_chip_match().
Change-Id: I4189ffe02908ea6e517b8c79370399ac1dbba3c9
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/480
diff --git a/include/chipdrivers/probing.h b/include/chipdrivers/probing.h
index cdb873d..090f2ab 100644
--- a/include/chipdrivers/probing.h
+++ b/include/chipdrivers/probing.h
@@ -84,4 +84,8 @@
bool (*match)(const struct flashchip *, const struct id_info_ext *);
};
+struct registered_master;
+void flashprog_bus_probe(struct registered_master *, const struct flashchip *);
+bool flashprog_chip_match(struct registered_master *, const struct flashchip *);
+
#endif /* !__PROBING_H__ */