From 7d72b22385786b232eafcd3cbfc44653909866da Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 19 Jul 2024 17:12:43 +0100 Subject: [PATCH] libkmod: move new weak API to separate section Add the new weak API, to a separate section in the version script. These will be exposed with the upcoming v33 release and not with v5 as the symbol tag implies. Cc: Jose Ignacio Tornos Martinez Fixes: 05828b4 ("libkmod: add weak dependecies") Signed-off-by: Emil Velikov Reviewed-by: Lucas De Marchi Link: https://lore.kernel.org/r/20240719-abi-fixes-v1-3-1e6d99a2846b@gmail.com --- libkmod/libkmod.sym | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libkmod/libkmod.sym b/libkmod/libkmod.sym index e71f4880..00463004 100644 --- a/libkmod/libkmod.sym +++ b/libkmod/libkmod.sym @@ -21,7 +21,6 @@ global: kmod_config_get_aliases; kmod_config_get_options; kmod_config_get_softdeps; - kmod_config_get_weakdeps; kmod_config_iter_get_key; kmod_config_iter_get_value; kmod_config_iter_next; @@ -42,7 +41,6 @@ global: kmod_module_get_dependencies; kmod_module_get_softdeps; - kmod_module_get_weakdeps; kmod_module_get_filtered_blacklist; kmod_module_get_name; @@ -98,3 +96,9 @@ LIBKMOD_30 { global: kmod_module_new_from_name_lookup; } LIBKMOD_22; + +LIBKMOD_33 { +global: + kmod_config_get_weakdeps; + kmod_module_get_weakdeps; +} LIBKMOD_30;