dm: spi: Return 0 if driver does not implement ops->cs_info
[oweals/u-boot.git] / env / sf.c
index 09646e1eed1ffa191740dee7d13a7a269aad991b..590d0cedd852999eec5ea485a92b265d0066401f 100644 (file)
--- a/env/sf.c
+++ b/env/sf.c
@@ -11,7 +11,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
+#include <env_internal.h>
 #include <malloc.h>
 #include <spi.h>
 #include <spi_flash.h>