Skip to content

Commit a32f7da

Browse files
roliver-rpipelwell
authored andcommitted
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>
1 parent f9b1e0f commit a32f7da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/earlycpio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,4 @@ struct cpio_data find_cpio_data(const char *path, void *data,
139139
quit:
140140
return cd;
141141
}
142+
EXPORT_SYMBOL_GPL(find_cpio_data);

0 commit comments

Comments
 (0)