diff options
author | Simon Glass | 2020-07-19 10:15:34 -0600 |
---|---|---|
committer | Tom Rini | 2020-08-03 22:19:54 -0400 |
commit | 340fd10e7b235681fe5996a89cc84dfcd5afafbd (patch) | |
tree | 3b05850310dd8791798de4668b9945160c890d2a /include | |
parent | defce58181e962f9c9979091ac4726cfcded63e7 (diff) |
mtd: spi-mem: Drop dm.h header file
This header file should not be included in other header files. Remove it
and use a forward declaration instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/spi-mem.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/spi-mem.h b/include/spi-mem.h index 893f7bd7337..ca0f55c8fdf 100644 --- a/include/spi-mem.h +++ b/include/spi-mem.h @@ -11,10 +11,7 @@ #ifndef __UBOOT_SPI_MEM_H #define __UBOOT_SPI_MEM_H -#include <common.h> -#include <dm.h> -#include <errno.h> -#include <spi.h> +struct udevice; #define SPI_MEM_OP_CMD(__opcode, __buswidth) \ { \ |