From: Scott Wood Date: Thu, 22 May 2008 15:49:00 +0000 (-0500) Subject: Make onenand_uboot.h self-sufficient. X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=229c56f07a82eacda8c8720cb146fc9be0f6db54;p=u-boot.git Make onenand_uboot.h self-sufficient. Don't assume types are provided by previously included headers. Signed-off-by: Scott Wood --- diff --git a/include/onenand_uboot.h b/include/onenand_uboot.h index bd1831ea6d..4449f987bf 100644 --- a/include/onenand_uboot.h +++ b/include/onenand_uboot.h @@ -14,6 +14,8 @@ #ifndef __UBOOT_ONENAND_H #define __UBOOT_ONENAND_H +#include + struct kvec { void *iov_base; size_t iov_len; @@ -22,6 +24,9 @@ struct kvec { typedef int spinlock_t; typedef int wait_queue_head_t; +struct mtd_info; +struct erase_info; + /* Functions */ extern void onenand_init(void); extern int onenand_read(struct mtd_info *mtd, loff_t from, size_t len,