Package: thinkpad-source
Version: 5.9-2.1
Followup-For: Bug #390426

Hello,

This compilation error is due to the drop of the macro "MODULE_PARM" in
kernel 2.6.17 (replaced by module_param).

This bug described here is addressed by the patch provided by Sergey Dolgov.
I think this bug is a subset of the bug 366170 ("new" module stuff in kernel)

Alternatively, i have included a patch which only address the bug described by 
Stefan Forster.

Thanks,

Franklin PIAT



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages thinkpad-source depends on:
ii  altgcc [c-compiler]          1:2.7.2.3-2 Alternate gcc package for the libc
ii  debhelper                    5.0.37.3    helper programs for debian/rules
ii  devscripts                   2.9.21      Scripts to make the life of a Debi
ii  gcc [c-compiler]             4:4.1.1-7   The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-13    The GNU C compiler
ii  make                         3.81-2      The GNU version of the "make" util

Versions of packages thinkpad-source recommends:
ii  dpkg-dev                      1.13.22    package building tools for Debian
ii  kernel-package                10.054     A utility for building Linux kerne

-- no debconf information
--- modules/thinkpad/2.6/drivers/thinkpad.c	2006-02-06 15:38:42.000000000 +0100
+++ modules-new/thinkpad/2.6/drivers/thinkpad.c	2006-10-07 12:53:03.000000000 +0200
@@ -92,13 +92,13 @@
 static int enable_rtcmosram = 1;
 static int enable_thinkpadpm = 1; /* obsolete */
 #ifdef MODULE
-MODULE_PARM( enable_smapi, "i" );
+module_param( enable_smapi, int, S_IRUSR );
 MODULE_PARM_DESC( enable_smapi, "Enable/disable (1/0) use of the smapi module" );
-MODULE_PARM( enable_superio, "i" );
+module_param( enable_superio, int, S_IRUSR );
 MODULE_PARM_DESC( enable_superio, "Enable/disable (1/0) use of the superio module" );
-MODULE_PARM( enable_rtcmosram, "i" );
+module_param( enable_rtcmosram, int, S_IRUSR );
 MODULE_PARM_DESC( enable_rtcmosram, "Enable/disable (1/0) use of the rtcmosram module" );
-MODULE_PARM( enable_thinkpadpm, "i" );
+module_param( enable_thinkpadpm, int, S_IRUSR );
 MODULE_PARM_DESC( enable_thinkpadpm, "Enable/disable (1/0) use of the thinkpadpm module (obsolete)" );
 MODULE_AUTHOR( "Thomas Hood" );
 MODULE_DESCRIPTION( "Metadriver for IBM ThinkPad hardware drivers" );

Reply via email to