mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
include: Further cleanup includes
Add some missing headers such as <linux/errno.h> or <linux/types.h> or <linux/kernel.h> to header files that make direct usage of things provided by these headers. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
# ifdef CONFIG_ARCH_MAP_SYSMEM
|
||||
#include <asm/io.h>
|
||||
# else
|
||||
#include <linux/types.h>
|
||||
|
||||
static inline void *map_sysmem(phys_addr_t paddr, unsigned long len)
|
||||
{
|
||||
return (void *)(uintptr_t)paddr;
|
||||
|
||||
Reference in New Issue
Block a user