diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-07 15:23:43 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2012-02-10 13:20:48 -0800 |
commit | a78d55d021c9cd3be6501760d6fca3464ea6dec8 (patch) | |
tree | 5d7141cba5a15926986d3803d488a0bb88d63f4d /src/synproto.h | |
parent | e5cd694ed1028b94fdbe10d76dbea1e03455f8fb (diff) |
Allocate SynapticsHwStruct for local function use
SynapticsHwStruct (SHS) will soon include ValuatorMasks, which can only
be allocated on the heap. The input driver callbacks are called in
signal context, so we can't instantiate a new SHS when that occurs.
Since we only ever need one SHS, allocate one at device init time and
use it in place of local SHS instances.
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/synproto.h')
0 files changed, 0 insertions, 0 deletions