summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Oliver <richard.oliver@raspberrypi.com>2024-06-20 09:58:32 +0100
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>2024-09-10 09:17:49 +0100
commita32f7dae82774d6064181dcc989c1c1349c4e47e (patch)
tree8175eaa3c690d70c136138f6a9d3ca9f170ff2e0 /lib
parentf9b1e0ffdd9b5134d9356d7e09e9c1a065fdfa13 (diff)
downloadlinux-rpi-a32f7dae82774d6064181dcc989c1c1349c4e47e.tar.gz
linux-rpi-a32f7dae82774d6064181dcc989c1c1349c4e47e.tar.bz2
linux-rpi-a32f7dae82774d6064181dcc989c1c1349c4e47e.zip
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 <richard.oliver@raspberrypi.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/earlycpio.c1
1 files changed, 1 insertions, 0 deletions
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);