sf: Drop dm.h header file from spi_flash.h

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:40 -06:00 committed by Tom Rini
parent 2a64ada78c
commit a00867b47a
5 changed files with 6 additions and 1 deletions

View file

@ -5,6 +5,7 @@
#include <common.h>
#include <console.h>
#include <dm.h>
#include <dfu.h>
#include <malloc.h>
#include <serial.h>