]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/libps2.h
[PATCH] Make most file operations structs in fs/ const
[linux-2.6-omap-h63xx.git] / include / linux / libps2.h
index 923bdbc6d9e40da0b83a659f4e743f03a18ab851..a710bddda4ebaade343bd925bf7f9c7fb9fc20a5 100644 (file)
@@ -41,6 +41,7 @@ struct ps2dev {
 
 void ps2_init(struct ps2dev *ps2dev, struct serio *serio);
 int ps2_sendbyte(struct ps2dev *ps2dev, unsigned char byte, int timeout);
+void ps2_drain(struct ps2dev *ps2dev, int maxbytes, int timeout);
 int ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command);
 int ps2_schedule_command(struct ps2dev *ps2dev, unsigned char *param, int command);
 int ps2_handle_ack(struct ps2dev *ps2dev, unsigned char data);