dm: core: Create a new header file for 'compat' features
[platform/kernel/u-boot.git] / drivers / mtd / nand / core.c
index 0b79369..bc0accf 100644 (file)
@@ -9,7 +9,9 @@
 
 #define pr_fmt(fmt)    "nand: " fmt
 
+#include <common.h>
 #ifndef __UBOOT__
+#include <linux/compat.h>
 #include <linux/module.h>
 #endif
 #include <linux/mtd/nand.h>