patch-2.4.2 linux/drivers/sbus/char/envctrl.c
Next file: linux/drivers/sbus/char/flash.c
Previous file: linux/drivers/sbus/audio/dmy.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Sun Feb 18 19:49:55 2001
- Orig file:
v2.4.1/linux/drivers/sbus/char/envctrl.c
- Orig date:
Thu Nov 9 15:57:41 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/sbus/char/envctrl.c linux/drivers/sbus/char/envctrl.c
@@ -1,4 +1,4 @@
-/* $Id: envctrl.c,v 1.19 2000/11/03 00:37:40 davem Exp $
+/* $Id: envctrl.c,v 1.21 2001/02/13 04:07:38 davem Exp $
* envctrl.c: Temperature and Fan monitoring on Machines providing it.
*
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
@@ -25,7 +25,7 @@
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/mm.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <asm/ebus.h>
#include <asm/uaccess.h>
@@ -229,7 +229,7 @@
printk(KERN_INFO "envctrl: Busy bit will not clear.\n");
}
-/* Function Description: Send the adress for a read access.
+/* Function Description: Send the address for a read access.
* Return : 0 if not acknowledged, otherwise acknowledged.
*/
static int envctrl_i2c_read_addr(unsigned char addr)
@@ -255,7 +255,7 @@
}
}
-/* Function Description: Send the adress for write mode.
+/* Function Description: Send the address for write mode.
* Return : None.
*/
static void envctrl_i2c_write_addr(unsigned char addr)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)