Commit 96380207 authored by Alexandr Shadchin's avatar Alexandr Shadchin Committed by Peter Hutterer

Move definition struct SynapticsHwInfo in ps2comm.h

Signed-off-by: default avatarAlexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 3de53de7
......@@ -82,13 +82,6 @@
#define PS2DBG(x)
#endif
struct SynapticsHwInfo {
unsigned int model_id; /* Model-ID */
unsigned int capabilities; /* Capabilities */
unsigned int ext_cap; /* Extended Capabilities */
unsigned int identity; /* Identification */
};
/*****************************************************************************
* PS/2 Utility functions.
* Many parts adapted from tpconfig.c by C. Scott Ananian
......
......@@ -94,10 +94,14 @@
typedef unsigned char byte;
struct SynapticsHwInfo {
unsigned int model_id; /* Model-ID */
unsigned int capabilities; /* Capabilities */
unsigned int ext_cap; /* Extended Capabilities */
unsigned int identity; /* Identification */
};
Bool ps2_putbyte(int fd, byte b);
struct SynapticsHwInfo;
void ps2_print_ident(const struct SynapticsHwInfo *synhw);
#endif /* _PS2COMM_H_ */
......@@ -52,13 +52,6 @@
#define SYSCALL(call) while (((call) == -1) && (errno == EINTR))
struct SynapticsHwInfo {
unsigned int model_id; /* Model-ID */
unsigned int capabilities; /* Capabilities */
unsigned int ext_cap; /* Extended Capabilities */
unsigned int identity; /* Identification */
};
/*
* Identify Touchpad
* See also the SYN_ID_* macros
......
......@@ -79,7 +79,6 @@ enum SynapticsProtocol {
};
struct _SynapticsParameters;
struct SynapticsHwInfo;
struct CommData;
struct SynapticsProtocolOperations {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment