Browse Source

fs: fs-loader: 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>
Simon Glass 3 years ago
parent
commit
c2848cc2c3
2 changed files with 2 additions and 1 deletions
  1. 1 0
      drivers/fpga/socfpga_arria10.c
  2. 1 1
      include/fs_loader.h

+ 1 - 0
drivers/fpga/socfpga_arria10.c

@@ -13,6 +13,7 @@
 #include <altera.h>
 #include <asm/arch/pinmux.h>
 #include <common.h>
+#include <dm.h>
 #include <dm/ofnode.h>
 #include <errno.h>
 #include <fs_loader.h>

+ 1 - 1
include/fs_loader.h

@@ -6,7 +6,7 @@
 #ifndef _FS_LOADER_H_
 #define _FS_LOADER_H_
 
-#include <dm.h>
+struct udevice;
 
 /**
  * struct phandle_part - A place for storing phandle of node and its partition