alpha-quadrant/app-laptop/thinkpad/files/thinkpad-5.9-remove-thinkpadapm-argument.patch
2007-04-19 10:44:47 +00:00

21 lines
1.0 KiB
Diff

diff -uNr thinkpad-5.9.orig2/2.6/drivers/thinkpad.c thinkpad-5.9/2.6/drivers/thinkpad.c
--- thinkpad-5.9.orig2/2.6/drivers/thinkpad.c 2006-03-24 19:10:35.000000000 +0100
+++ thinkpad-5.9/2.6/drivers/thinkpad.c 2006-03-24 19:11:11.000000000 +0100
@@ -90,7 +90,6 @@
static int enable_smapi = 1;
static int enable_superio = 1;
static int enable_rtcmosram = 1;
-static int enable_thinkpadpm = 1; /* obsolete */
#ifdef MODULE
MODULE_PARM( enable_smapi, "i" );
MODULE_PARM_DESC( enable_smapi, "Enable/disable (1/0) use of the smapi module" );
@@ -98,8 +97,6 @@
MODULE_PARM_DESC( enable_superio, "Enable/disable (1/0) use of the superio module" );
MODULE_PARM( enable_rtcmosram, "i" );
MODULE_PARM_DESC( enable_rtcmosram, "Enable/disable (1/0) use of the rtcmosram module" );
-MODULE_PARM( enable_thinkpadpm, "i" );
-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" );
MODULE_LICENSE( "GPL" );