summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-08 16:59:54 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-02-10 13:20:49 -0800
commit5658a2f643cf7440009dde2fa74287332237c0b9 (patch)
tree694db1ae2f2e70082a334f3fab4115bf2f24574e /src/synapticsstr.h
parent7bcbf8eb110b1f7c6c085d3dcd69f66b00df2b8a (diff)
Allocate priv->hwState
This is needed for when SynapticsHwState can't be allocated on the stack. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index fff159c..9a11816 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -191,7 +191,7 @@ typedef struct _SynapticsPrivateRec
struct SynapticsProtocolOperations* proto_ops;
void *proto_data; /* protocol-specific data */
- struct SynapticsHwState hwState;
+ struct SynapticsHwState *hwState;
const char *device; /* device node */
Bool shm_config; /* True when shared memory area allocated */