diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-09-30 17:40:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-05 08:27:40 +0200 |
commit | aa3a70a50b99d317e81ecebe9704e8174c5b45c4 (patch) | |
tree | 00cf872f3a0df2ac8982bbaa8b0fcd7ac2480a28 /include | |
parent | 49c2e4ebe8f4b5f457201385f075fb80476a7977 (diff) | |
download | barebox-aa3a70a50b99d317e81ecebe9704e8174c5b45c4.tar.gz barebox-aa3a70a50b99d317e81ecebe9704e8174c5b45c4.tar.xz |
fs: export file system detection functionality
This will come in handy when using barebox as EFI loader, so give it a
more generic name and export it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220930154053.752237-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 9ea522dc2c..b501db38ad 100644 --- a/include/fs.h +++ b/include/fs.h @@ -179,4 +179,6 @@ static inline const char *devpath_to_name(const char *devpath) return devpath; } +const char *fs_detect(const char *filename, const char *fsoptions); + #endif /* __FS_H */ |