[PATCH 29/33] dm: core: Require users of devres to include the header

Anatolij Gustschin agust at denx.de
Sun Jan 12 21:29:57 CET 2020


On Sun, 12 Jan 2020 12:06:20 -0700
Simon Glass sjg at chromium.org wrote:

> At present devres.h is included in all files that include dm.h but few
> make use of it. Also this pulls in linux/compat which adds several more
> headers. Drop the automatic inclusion and require files to include devres
> themselves. This provides a good indication of which files use devres.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Anatolij Gustschin <agust at denx.de>

--
Anatolij


More information about the U-Boot mailing list