Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91772 Details for
Bug 137646
app-laptop/thinkpad-5.9-r1 fails with gentoo-sources 2.6.17
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to replace MODULE_PARM with module_param so that it compiles with 2.6.17
thinkpad-5.9-module_param.patch (text/plain), 992 bytes, created by
Henryk Plötz
on 2006-07-15 03:52:14 UTC
(
hide
)
Description:
Patch to replace MODULE_PARM with module_param so that it compiles with 2.6.17
Filename:
MIME Type:
Creator:
Henryk Plötz
Created:
2006-07-15 03:52:14 UTC
Size:
992 bytes
patch
obsolete
>diff -purN thinkpad-5.9-orig/2.6/drivers/thinkpad.c thinkpad-5.9/2.6/drivers/thinkpad.c >--- thinkpad-5.9-orig/2.6/drivers/thinkpad.c 2006-07-15 12:27:38.000000000 +0200 >+++ thinkpad-5.9/2.6/drivers/thinkpad.c 2006-07-15 12:42:55.000000000 +0200 >@@ -91,11 +91,11 @@ static int enable_smapi = 1; > static int enable_superio = 1; > static int enable_rtcmosram = 1; > #ifdef MODULE >-MODULE_PARM( enable_smapi, "i" ); >+module_param( enable_smapi, int, S_IRUGO ); > 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_IRUGO ); > 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_IRUGO ); > MODULE_PARM_DESC( enable_rtcmosram, "Enable/disable (1/0) use of the rtcmosram module" ); > MODULE_AUTHOR( "Thomas Hood" ); > MODULE_DESCRIPTION( "Metadriver for IBM ThinkPad hardware drivers" );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 137646
: 91772