Commit 843c9e87 authored by Simon Glass's avatar Simon Glass

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
parent ebe76a2d
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <common.h> #include <common.h>
#include <environment.h> #include <environment.h>
#include <malloc.h> #include <malloc.h>
#include <spi.h>
#include <spi_flash.h> #include <spi_flash.h>
#include <search.h> #include <search.h>
#include <errno.h> #include <errno.h>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <errno.h> #include <errno.h>
#include <div64.h> #include <div64.h>
#include <dfu.h> #include <dfu.h>
#include <spi.h>
#include <spi_flash.h> #include <spi_flash.h>
static long dfu_get_medium_size_sf(struct dfu_entity *dfu) static long dfu_get_medium_size_sf(struct dfu_entity *dfu)
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <spi.h>
#include <spi_flash.h> #include <spi_flash.h>
#include "sf_internal.h" #include "sf_internal.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment