Commit 8355ef6e authored by David Stevens's avatar David Stevens Committed by Treehugger Robot
Browse files

ANDROID: zram: Stop using kernel_read_file_from_path



The kernel_read_file_from_path() function is on GKI's symbol blocklist,
which means it's currently impossible to build zram as an in-tree
module. Update zram_drv.c to use read_comp_algo_dictionary(), which is
a wrapper function around kernel_read_file_from_path() that was added to
unblock vendors' out-of-tree zram modules.

Bug: 443091113
Change-Id: I6b44d7527d207d81ff986a23c6a1e3d808b485f2
Signed-off-by: default avatarDavid Stevens <stevensd@google.com>
parent 8d6ff5f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment