Browse Source

onenand_uboot: fix warning: 'struct mtd_oob_ops' declared inside parameter list

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 16 years ago
parent
commit
3221b074a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/onenand_uboot.h

+ 1 - 0
include/onenand_uboot.h

@@ -15,6 +15,7 @@
 #define __UBOOT_ONENAND_H
 
 #include <linux/types.h>
+#include <linux/mtd/mtd.h>
 
 struct mtd_info;
 struct erase_info;