mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01: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