summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-14 05:41:55 (GMT)
committerSimon Glass <sjg@chromium.org>2014-10-22 16:36:47 (GMT)
commit843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f (patch)
tree56699ba7e3c330933db47ce57447d59222e4902e /drivers/mtd/spi
parentebe76a2df9f6b82f41ec61d36d45bce56d556f17 (diff)
downloadu-boot-843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f.tar.xz
dm: Add spi.h header to a few files
Some files are using SPI functions but not explitly including the SPI header file. Fix this, since driver model needs it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'drivers/mtd/spi')
-rw-r--r--drivers/mtd/spi/sf_params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index 453edf0..61545ca 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -7,6 +7,7 @@
*/
#include <common.h>
+#include <spi.h>
#include <spi_flash.h>
#include "sf_internal.h"