diff options
author | Scott Wood <scottwood@freescale.com> | 2008-05-22 10:49:00 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-05-28 11:06:28 -0500 |
commit | 229c56f07a82eacda8c8720cb146fc9be0f6db54 (patch) | |
tree | 13ba3fd789f28e9b2ebd2e02c6856649281d9a15 /include | |
parent | 9723bbb46abb7b2ca24eead5114a3faa58060c20 (diff) | |
download | u-boot-imx-229c56f07a82eacda8c8720cb146fc9be0f6db54.zip u-boot-imx-229c56f07a82eacda8c8720cb146fc9be0f6db54.tar.gz u-boot-imx-229c56f07a82eacda8c8720cb146fc9be0f6db54.tar.bz2 |
Make onenand_uboot.h self-sufficient.
Don't assume types are provided by previously included headers.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/onenand_uboot.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/onenand_uboot.h b/include/onenand_uboot.h index bd1831e..4449f98 100644 --- a/include/onenand_uboot.h +++ b/include/onenand_uboot.h @@ -14,6 +14,8 @@ #ifndef __UBOOT_ONENAND_H #define __UBOOT_ONENAND_H +#include <linux/types.h> + 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, |