[PATCH 2/3] nvvar: add missing static inline stubs

Lucas Stach l.stach at pengutronix.de
Thu May 26 03:09:12 PDT 2016


Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 include/globalvar.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/globalvar.h b/include/globalvar.h
index e94e9ed6ee88..5dfa3714093e 100644
--- a/include/globalvar.h
+++ b/include/globalvar.h
@@ -153,6 +153,18 @@ static inline int nvvar_load(void)
 	return 0;
 }
 
+static inline void nvvar_print(void) {}
+
+static inline int nvvar_add(const char *name, const char *value)
+{
+	return 0;
+}
+
+static inline int nvvar_remove(const char *name)
+{
+	return 0;
+}
+
 #endif
 
 #endif /* __GLOBALVAR_H */
-- 
2.8.1




More information about the barebox mailing list