[PATCH] treewide: add MODULE_DEVICE_TABLE markers

Sascha Hauer sha at pengutronix.de
Tue Jun 13 00:13:32 PDT 2023


On Mon, Jun 12, 2023 at 02:59:08PM +0200, Ahmad Fatoum wrote:
> Syncing device trees with Linux upstream can lead to breakage, when
> the device trees are switched to newer bindings, which are not yet
> supported in barebox. To make it easier to spot such issues, we want to
> start applying some heuristics to flag possibly problematic DT changes.
> 
> One step towards being able to do that is to know what nodes barebox
> actually consumes. Most of the nodes have a compatible entry, which is
> matched by an array of of_device_id, so let's have MODULE_DEVICE_TABLE
> point at it for future extraction.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---

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 |



More information about the barebox mailing list