summaryrefslogtreecommitdiff
path: root/src/synproto.h
diff options
context:
space:
mode:
authorAlexandr Shadchin <alexandr.shadchin@gmail.com>2011-02-28 16:38:29 +0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-01 12:02:10 +1000
commitcf451f34e3bdd52a4eb072ce9f4b514eb83a1cfc (patch)
treece51028eaee777cb4c726e2c825ced777a45aeb1 /src/synproto.h
parentdce6006f6a851be4147e16731caa453dd0d1ec1c (diff)
Now ps2comm and alpscomm backend optional
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r--src/synproto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/synproto.h b/src/synproto.h
index 54a64eb..251dc84 100644
--- a/src/synproto.h
+++ b/src/synproto.h
@@ -79,14 +79,15 @@ struct SynapticsProtocolOperations {
void (*ReadDevDimensions)(InputInfoPtr pInfo);
};
+#ifdef BUILD_PS2COMM
extern struct SynapticsProtocolOperations psaux_proto_operations;
+extern struct SynapticsProtocolOperations alps_proto_operations;
+#endif /* BUILD_PS2COMM */
#ifdef BUILD_EVENTCOMM
extern struct SynapticsProtocolOperations event_proto_operations;
#endif /* BUILD_EVENTCOMM */
#ifdef BUILD_PSMCOMM
extern struct SynapticsProtocolOperations psm_proto_operations;
#endif /* BUILD_PSMCOMM */
-extern struct SynapticsProtocolOperations alps_proto_operations;
-
#endif /* _SYNPROTO_H_ */