]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: Add spi.h header to a few files
authorSimon Glass <sjg@chromium.org>
Tue, 14 Oct 2014 05:41:55 +0000 (23:41 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:47 +0000 (10:36 -0600)
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>
common/env_sf.c
drivers/dfu/dfu_sf.c
drivers/mtd/spi/sf_params.c

index 37ab13ae17842309339fa9a70a42e49b8669207e..5e3729c2c2d62dfb201e2329081318f1657fa422 100644 (file)
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <environment.h>
 #include <malloc.h>
 #include <common.h>
 #include <environment.h>
 #include <malloc.h>
+#include <spi.h>
 #include <spi_flash.h>
 #include <search.h>
 #include <errno.h>
 #include <spi_flash.h>
 #include <search.h>
 #include <errno.h>
index 91f6df220b1dd7f11aabdaddb28fa7e3db32b44e..c3d3c3bcd85355b77dc8cb1d4c945a589f550781 100644 (file)
@@ -9,6 +9,7 @@
 #include <errno.h>
 #include <div64.h>
 #include <dfu.h>
 #include <errno.h>
 #include <div64.h>
 #include <dfu.h>
+#include <spi.h>
 #include <spi_flash.h>
 
 static long dfu_get_medium_size_sf(struct dfu_entity *dfu)
 #include <spi_flash.h>
 
 static long dfu_get_medium_size_sf(struct dfu_entity *dfu)
index 453edf0149518cd69c945adcf2b3a270ddaebb62..61545cacaabe8415bf7a1a1fa35d2e7e8294e2b9 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
  */
 
 #include <common.h>
+#include <spi.h>
 #include <spi_flash.h>
 
 #include "sf_internal.h"
 #include <spi_flash.h>
 
 #include "sf_internal.h"