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.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index ab4ad22ef..141b509e5 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -285,8 +285,8 @@ sub when_load_category {
$sound_alias ||= 'sound-slot-0';
$conf->set_sound_slot($sound_alias, $name);
} elsif ($category =~ m!disk/card_reader!) {
- $conf->set_above($name, 'tifm_sd') if $name =~ /tifm_7xx1/;
- $conf->set_above($name, 'mmc_block');
+ my @modules = ('mmc_block', if_($name =~ /tifm_7xx1/, 'tifm_sd'));
+ $conf->set_above($name, join(' ', @modules));
}
}