diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-13 23:41:55 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:47 -0600 |
commit | 843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f (patch) | |
tree | 56699ba7e3c330933db47ce57447d59222e4902e /drivers/dfu | |
parent | ebe76a2df9f6b82f41ec61d36d45bce56d556f17 (diff) | |
download | u-boot-843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f.tar.gz u-boot-843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f.tar.bz2 u-boot-843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f.zip |
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/dfu')
-rw-r--r-- | drivers/dfu/dfu_sf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c index 91f6df220b..c3d3c3bcd8 100644 --- a/drivers/dfu/dfu_sf.c +++ b/drivers/dfu/dfu_sf.c @@ -9,6 +9,7 @@ #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) |