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>
This commit is contained in:
Simon Glass
2020-07-19 10:15:34 -06:00
committed by Tom Rini
parent defce58181
commit 340fd10e7b
4 changed files with 10 additions and 5 deletions

View File

@@ -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) \
{ \