[PATCH 2.5] Stop APM as module from oopsing

From: Daniel Ritz (daniel.ritz@gmx.ch)
Date: Sat Jan 04 2003 - 16:15:11 EST


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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:26 EST