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
..
2020-02-05 19:33:46 -07:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2018-06-07 17:08:06 -04:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2019-05-20 13:50:34 +02:00
2020-01-17 17:53:52 -05:00
2019-11-07 00:24:59 +01:00
2017-04-13 09:41:10 -04:00
2019-12-06 16:44:20 -05:00
2018-12-02 21:59:37 +01:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2020-02-05 19:33:46 -07:00
2019-12-06 16:44:19 -05:00
2019-05-05 08:48:50 -04:00