diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/core.c | 1 | ||||
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 1 | ||||
-rw-r--r-- | drivers/mtd/devices/mtd_dataflash.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index f63b10e9cd..33f900e732 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -25,6 +25,7 @@ #include <ioctl.h> #include <nand.h> #include <errno.h> +#include <of.h> #include "mtd.h" diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 1e3bc936f1..959401138d 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -17,6 +17,7 @@ #include <common.h> #include <init.h> #include <driver.h> +#include <of.h> #include <spi/spi.h> #include <spi/flash.h> #include <xfuncs.h> diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index d785e33dae..cdc0120c53 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -17,6 +17,7 @@ #include <linux/err.h> #include <errno.h> #include <io.h> +#include <of.h> #include <clock.h> #include <spi/spi.h> |