u-boot/drivers/mtd/ubi
Simon Glass 336d4615f8 dm: core: Create a new header file for 'compat' features
At present dm/device.h includes the linux-compatible features. This
requires including linux/compat.h which in turn includes a lot of headers.
One of these is malloc.h which we thus end up including in every file in
U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
which needs to use the system malloc() in some files.

Move the compatibility features into a separate header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-02-05 19:33:46 -07:00
..
attach.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
build.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
crc32.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
crc32defs.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
crc32table.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
debug.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
debug.h mtd: ubi, ubifs debug: Use pr_debug instead of pr_crit 2019-04-09 07:46:42 +02:00
eba.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
fastmap-wl.c ubi: fastmap: Implement produce_free_peb() 2018-05-22 11:39:05 +02:00
fastmap.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
io.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
kapi.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
Kconfig ubi: fix UBI_SILENCE_MSG 2019-07-09 07:00:23 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ubi-media.h ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
ubi.h ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
upd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
vmt.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
vtbl.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
wl.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
wl.h ubi,ubifs: sync with linux v4.2 2015-10-26 09:22:36 +01:00