Skip to content
Commit d2787efc authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

dm: core: Guard against including dm.h in header files



Header files generally should not include header files just for a struct,
since forward declarations work just as well and reduce overhead.

Add a warning for dm.h being included, since this has crept into U-Boot.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent debf3c33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment