From: Simon Glass Date: Sun, 19 Jul 2020 16:15:38 +0000 (-0600) Subject: fs: fs-loader: Drop dm.h header file X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c2848cc2c35ccaedb10f23c3ee2a46ffdcc0de0c;p=u-boot.git 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 --- diff --git a/drivers/fpga/socfpga_arria10.c b/drivers/fpga/socfpga_arria10.c index dfd3cbb461..44e1ac54c3 100644 --- a/drivers/fpga/socfpga_arria10.c +++ b/drivers/fpga/socfpga_arria10.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/include/fs_loader.h b/include/fs_loader.h index b728c06fcf..1b3c58086f 100644 --- a/include/fs_loader.h +++ b/include/fs_loader.h @@ -6,7 +6,7 @@ #ifndef _FS_LOADER_H_ #define _FS_LOADER_H_ -#include +struct udevice; /** * struct phandle_part - A place for storing phandle of node and its partition