Hello community, here is the log from the commit of package tpctl checked in at Mon Apr 3 00:59:58 CEST 2006. -------- --- arch/i386/tpctl/tpctl.changes 2006-03-19 21:46:43.000000000 +0100 +++ tpctl/tpctl.changes 2006-04-03 00:51:39.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Apr 3 00:51:31 CEST 2006 - ro@suse.de + +- change MODULE_PARM to module_param + +------------------------------------------------------------------- New: ---- thinkpad-module_param.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tpctl.spec ++++++ --- /var/tmp/diff_new_pack.kYQgca/_old 2006-04-03 00:59:51.000000000 +0200 +++ /var/tmp/diff_new_pack.kYQgca/_new 2006-04-03 00:59:51.000000000 +0200 @@ -13,7 +13,7 @@ BuildRequires: apmd kernel-source kernel-syms udev %define module_version 5.8 Version: 4.17 -Release: 21 +Release: 23 Summary: ThinkPad configuration tools License: GPL Group: Hardware/Mobile @@ -32,6 +32,7 @@ Patch0: tpctl.dif Patch1: thinkpad.dif Patch5: get_put_cpu_ptr-gone.diff +Patch6: thinkpad-module_param.dif %suse_kernel_module_package kdump um xen xenpae %description @@ -75,6 +76,7 @@ cd thinkpad-%{module_version} %patch1 %patch5 -p1 +%patch6 -p1 cd .. mkdir source mkdir obj @@ -131,6 +133,8 @@ rm -rf %{buildroot} %changelog -n tpctl +* Mon Apr 03 2006 - ro@suse.de +- change MODULE_PARM to module_param * Fri Feb 17 2006 - seife@suse.de - added a dependency to the kernel module * Thu Feb 16 2006 - ro@suse.de ++++++ thinkpad-module_param.dif ++++++ --- thinkpad-5.8/2.6/drivers/thinkpad.c 2006/04/02 22:48:58 1.1 +++ thinkpad-5.8/2.6/drivers/thinkpad.c 2006/04/02 22:49:49 @@ -94,13 +94,13 @@ static int enable_rtcmosram = 1; static int enable_thinkpadpm = 1; #ifdef MODULE -MODULE_PARM( enable_smapi, "i" ); +module_param(enable_smapi, int, 0 ); MODULE_PARM_DESC( enable_smapi, "Enable/disable (1/0) use of the smapi module" ); -MODULE_PARM( enable_superio, "i" ); +module_param(enable_superio, int, 0 ); MODULE_PARM_DESC( enable_superio, "Enable/disable (1/0) use of the superio module" ); -MODULE_PARM( enable_rtcmosram, "i" ); +module_param(enable_rtcmosram, int, 0 ); MODULE_PARM_DESC( enable_rtcmosram, "Enable/disable (1/0) use of the rtcmosram module" ); -MODULE_PARM( enable_thinkpadpm, "i" ); +module_param(enable_thinkpadpm, int, 0 ); MODULE_PARM_DESC( enable_thinkpadpm, "Enable/disable (1/0) use of the thinkpadpm module" ); MODULE_AUTHOR( "Thomas Hood" ); MODULE_DESCRIPTION( "Metadriver for IBM ThinkPad hardware drivers" ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de