[2.6.11.3] gcc4 / psmouse.h - compilation fix.

From: PaweÅ Sikora
Date: Sun Mar 13 2005 - 08:22:17 EST


Hi,

Attched patch fixes gcc error:
`drivers/input/mouse/psmouse.h:40: error: field `ps2dev' has incomplete type`

Please apply.

--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

#define say(x) lie(x)
drivers/input/mouse/psmouse.h:40: error: field `ps2dev' has incomplete type

--- linux-2.6.11.3/drivers/input/mouse/psmouse.h.orig 2005-03-13 07:44:40.000000000 +0100
+++ linux-2.6.11.3/drivers/input/mouse/psmouse.h 2005-03-13 14:08:06.000000000 +0100
@@ -1,6 +1,8 @@
#ifndef _PSMOUSE_H
#define _PSMOUSE_H

+#include <linux/libps2.h>
+
#define PSMOUSE_CMD_SETSCALE11 0x00e6
#define PSMOUSE_CMD_SETSCALE21 0x00e7
#define PSMOUSE_CMD_SETRES 0x10e8