On Thu, Nov 25, 2021 at 05:06:36PM +0100, Ahmad Fatoum wrote: > of_probe may be called more than once, e.g. after oftree -p or by board > code after fixing up device tree. This currently leads to a harmless, > but annoying error message about machine already being registered. > > Avoid this by creating the device only once. > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > drivers/of/base.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox