From patchwork Wed Feb 12 18:30:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 236267 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Wed, 12 Feb 2020 19:30:18 +0100 Subject: [PATCH 07/10] env: ext4: fix possible compilation issue In-Reply-To: <20200212183021.4844-1-patrick.delaunay@st.com> References: <20200212183021.4844-1-patrick.delaunay@st.com> Message-ID: <20200212183021.4844-8-patrick.delaunay@st.com> Fix possible compilation issue in env ext4 support when CONFIG_CMD_SAVEENV is not activated. Signed-off-by: Patrick Delaunay --- env/ext4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/env/ext4.c b/env/ext4.c index e3bbf4a4e0..aa77261649 100644 --- a/env/ext4.c +++ b/env/ext4.c @@ -144,5 +144,7 @@ U_BOOT_ENV_LOCATION(ext4) = { .location = ENVL_EXT4, ENV_NAME("EXT4") .load = env_ext4_load, +#ifdef CONFIG_CMD_SAVEENV .save = env_save_ptr(env_ext4_save), +#endif };