patch-2.1.116 linux/drivers/char/apm_bios.c
Next file: linux/drivers/char/bttv.c
Previous file: linux/drivers/block/trm290.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Aug 9 10:42:41 1998
- Orig file:
v2.1.115/linux/drivers/char/apm_bios.c
- Orig date:
Sun Jun 7 11:16:29 1998
diff -u --recursive --new-file v2.1.115/linux/drivers/char/apm_bios.c linux/drivers/char/apm_bios.c
@@ -515,6 +515,8 @@
return APM_SUCCESS;
}
+#if 0
+/* not used anywhere */
static int apm_get_battery_status(u_short which,
u_short *bat, u_short *life, u_short *nbat)
{
@@ -532,6 +534,7 @@
return (error >> 8);
return APM_SUCCESS;
}
+#endif
static inline int apm_engage_power_management(u_short device)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov