summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-02 14:14:29 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-02 14:14:29 +0000
commit7cf824bb4905d0062895439737a945a8d948374a (patch)
tree0cac30ca63e842413de7db3c2b07535fd6d0df5c /perl-install/modules.pm
parentc544b1722cf99b7077718c84a3e316dd2109b7aa (diff)
downloaddrakx-7cf824bb4905d0062895439737a945a8d948374a.tar
drakx-7cf824bb4905d0062895439737a945a8d948374a.tar.gz
drakx-7cf824bb4905d0062895439737a945a8d948374a.tar.bz2
drakx-7cf824bb4905d0062895439737a945a8d948374a.tar.xz
drakx-7cf824bb4905d0062895439737a945a8d948374a.zip
Use proper module for getInputDevices (bug #51308).
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 fb7ff9f4f..2439c758b 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -193,7 +193,7 @@ sub write_preload_conf {
push @l, map { $_->{driver} } detect_devices::probe_category($_) foreach qw(multimedia/dvb multimedia/tv various/agpgart various/laptop input/joystick various/crypto disk/card_reader);
push @l, 'padlock-aes', 'padlock-sha' if cat_("/proc/cpuinfo") =~ /rng_en/;
push @l, 'evdev' if detect_devices::hasTouchpad();
- push @l, 'evdev' if any { $_->{HWHEEL} } getInputDevices();
+ push @l, 'evdev' if any { $_->{HWHEEL} } detect_devices::getInputDevices();
push @l, 'hdaps' if $is_laptop && $manufacturer eq 'LENOVO';
append_to_modules_loaded_at_startup("$::prefix/etc/modprobe.preload", @l);
}