summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 27253b594..edf4272d1 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -285,7 +285,7 @@ sub write_conf() {
}
my @l;
push @l, 'scsi_hostadapter' if !is_empty_array_ref($conf{scsi_hostadapter}{probeall});
- push @l, 'bttv' if any { $_->{driver} eq 'bttv' } detect_devices::probeall();
+ push @l, 'bttv' if detect_devices::matching_driver('^bttv$');
append_to_modules_loaded_at_startup("$::prefix/etc/modules", @l);
append_to_modules_loaded_at_startup("$::prefix/etc/modprobe.preload", @l);