public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.11.3] gcc4 / psmouse.h - compilation fix.
@ 2005-03-13 13:20 Paweł Sikora
  2005-03-13 16:48 ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Paweł Sikora @ 2005-03-13 13:20 UTC (permalink / raw)
  To: linux-kernel, akpm

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

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)

[-- Attachment #2: 2.6.11.3-gcc4-psmouse.patch --]
[-- Type: text/x-diff, Size: 452 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-13 21:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-13 13:20 [2.6.11.3] gcc4 / psmouse.h - compilation fix Paweł Sikora
2005-03-13 16:48 ` Dmitry Torokhov
2005-03-13 16:54   ` Paweł Sikora
2005-03-13 17:30     ` Dmitry Torokhov
2005-03-13 21:37       ` Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox