/* psmouse_deactivate() puts the mouse into poll mode so that we don't get motion reports from it unless we explicitly request it.  */
static void psmouse_deactivate(struct psmouse *psmouse)
/* psmouse_deactivate() puts the mouse into poll mode so that we don't get motion reports from it unless we explicitly request it.  */
static void psmouse_deactivate(struct psmouse *psmouse)
{
	if (ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_DISABLE))
		printk(KERN_WARNING "psmouse.c: Failed to deactivate mouse on %s\n",
			psmouse->ps2dev.serio->phys);
	psmouse_set_state(psmouse, PSMOUSE_CMD_MODE);
}