From a32f7dae82774d6064181dcc989c1c1349c4e47e Mon Sep 17 00:00:00 2001 From: Richard Oliver Date: Thu, 20 Jun 2024 09:58:32 +0100 Subject: lib: earlycpio: export symbol find_cpio_data() Add EXPORT_SYMBOL_GPL() for find_cpio_data() so that loadable modules may also parse uncompressed cpio. Signed-off-by: Richard Oliver --- lib/earlycpio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/earlycpio.c b/lib/earlycpio.c index d2c37d64fd0c..4b1ce69a6ee5 100644 --- a/lib/earlycpio.c +++ b/lib/earlycpio.c @@ -139,3 +139,4 @@ struct cpio_data find_cpio_data(const char *path, void *data, quit: return cd; } +EXPORT_SYMBOL_GPL(find_cpio_data); -- cgit v1.2.3