mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 02:08:00 +00:00
dm: core: Drop the inclusion of linux/compat.h in dm.h
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@chromium.org>
This commit is contained in:
parent
336d4615f8
commit
f217651575
6 changed files with 7 additions and 2 deletions
|
@ -123,7 +123,10 @@ static inline void kmem_cache_destroy(struct kmem_cache *cachep)
|
|||
|
||||
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
||||
|
||||
/* This is also defined in ARMv8's mmu.h */
|
||||
#ifndef PAGE_SIZE
|
||||
#define PAGE_SIZE 4096
|
||||
#endif
|
||||
|
||||
/* drivers/char/random.c */
|
||||
#define get_random_bytes(...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue