[PATCH 2.5] Stop APM as module from oopsing

Daniel Ritz (daniel.ritz@gmx.ch)
Sat, 4 Jan 2003 23:15:11 +0200


trivial fix to stop APM from oopsing when compiled as module.
against 2.5.54bk1. please apply.

beep
-daniel

--- 2554-clean/arch/i386/kernel/apm.c 2003-01-03 17:00:54.000000000 +0100
+++ 2554/arch/i386/kernel/apm.c 2003-01-04 21:31:50.000000000 +0100
@@ -718,7 +718,7 @@
* same format.
*/

-static int __init apm_driver_version(u_short *val)
+static int apm_driver_version(u_short *val)
{
u32 eax;



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/