patch-2.1.45 linux/drivers/char/psaux.c

Next file: linux/drivers/char/random.c
Previous file: linux/drivers/char/pc110pad.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/drivers/char/psaux.c linux/drivers/char/psaux.c
@@ -168,6 +168,11 @@
 	outb_p(val, KBD_DATA_REG);			    /* Write data */
 }
 
+/*
+ * Write to device & handle returned ack
+ */
+
+#ifdef INITIALIZE_DEVICE
 __initfunc(static void aux_write_dev_nosleep(int val))
 {
 	poll_aux_status_nosleep();
@@ -176,11 +181,6 @@
 	outb_p(val, KBD_DATA_REG);
 }
 
-/*
- * Write to device & handle returned ack
- */
-
-#ifdef INITIALIZE_DEVICE
 __initfunc(static int aux_write_ack(int val))
 {
 	aux_write_dev_nosleep(val);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov