From 7cf824bb4905d0062895439737a945a8d948374a Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 2 Jun 2009 14:14:29 +0000 Subject: Use proper module for getInputDevices (bug #51308). --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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); } -- cgit v1.2.1