summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkernel/check_module_list.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/check_module_list.pl b/kernel/check_module_list.pl
index 05d28facf..e028c1d72 100755
--- a/kernel/check_module_list.pl
+++ b/kernel/check_module_list.pl
@@ -77,6 +77,8 @@ foreach (@module_list) {
$listed_in_rpm{$name} = 1;
my $module_name = $name =~ s/-/_/gr;
my $type = $module_types{$module_name};
+ $type ||= 'snd-sof' if $path =~ m|sound/soc/sof|;
+ $type ||= 'platform' if $path =~ m|drivers/platform/x86|;
# skip if this is not a recognised driver type
next if !defined($type);
my $category = list_modules::module2category($name);