[PATCH v2 31/32] dm: core: Drop the inclusion of linux/compat.h in dm.h

sjg at google.com sjg at google.com
Thu Feb 6 03:31:36 CET 2020


Most files don't need this header and it pulls in quite of lots of stuff,
malloc() in particular. Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 board/hisilicon/poplar/poplar.c | 2 +-
 drivers/ram/imxrt_sdram.c       | 1 +
 include/dm/device.h             | 1 -
 include/linux/compat.h          | 3 +++
 include/phy.h                   | 1 +
 5 files changed, 6 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list