[PATCH 4/4] fs.h: Switch to using rtc_def.h

Tom Rini trini at konsulko.com
Thu May 1 18:47:21 CEST 2025


This file only needs the definition of 'struct rtc_time' and that is
found in <rtc_def.h>. Use that instead of pulling in rtc.h to pull in
rtc_def.h as rtc.h includes many other include files.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/fs.h b/include/fs.h
index 731aaa026375..bec021177371 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -5,7 +5,7 @@
 #ifndef _FS_H
 #define _FS_H
 
-#include <rtc.h>
+#include <rtc_def.h>
 
 struct cmd_tbl;
 
-- 
2.43.0



More information about the U-Boot mailing list