Skip to content

Commit

Permalink
libkmod: move new weak API to separate section
Browse files Browse the repository at this point in the history
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 <[email protected]>
Fixes: 05828b4 ("libkmod: add weak dependecies")
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
evelikov authored and lucasdemarchi committed Jul 20, 2024
1 parent a5b7ac3 commit 7d72b22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libkmod/libkmod.sym
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;

0 comments on commit 7d72b22

Please sign in to comment.