diff options
author | Alexandr Shadchin <alexandr.shadchin@gmail.com> | 2011-02-28 16:38:25 +0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-01 11:54:19 +1000 |
commit | 8e6d67243375539f417f7a19e349c6546ce3be64 (patch) | |
tree | 6706d207296a86931b33560e17423ca9f8510c5a /src/psmcomm.c | |
parent | 9638020709ab45198933a703390a7429e8d38767 (diff) |
Renamed SynapticsHwInfo in PS2SynapticsHwInfo
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/psmcomm.c')
-rw-r--r-- | src/psmcomm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/psmcomm.c b/src/psmcomm.c index 88263ae..596db48 100644 --- a/src/psmcomm.c +++ b/src/psmcomm.c @@ -103,7 +103,7 @@ PSMQueryIsSynaptics(InputInfoPtr pInfo) } static void -convert_hw_info(const synapticshw_t *psm_ident, struct SynapticsHwInfo *synhw) +convert_hw_info(const synapticshw_t *psm_ident, struct PS2SynapticsHwInfo *synhw) { memset(synhw, 0, sizeof(*synhw)); synhw->model_id = ((psm_ident->infoRot180 << 23) | @@ -130,14 +130,14 @@ static Bool PSMQueryHardware(InputInfoPtr pInfo) { synapticshw_t psm_ident; - struct SynapticsHwInfo *synhw; + struct PS2SynapticsHwInfo *synhw; SynapticsPrivate *priv; priv = (SynapticsPrivate *)pInfo->private; if(!priv->proto_data) - priv->proto_data = calloc(1, sizeof(struct SynapticsHwInfo)); - synhw = (struct SynapticsHwInfo*)priv->proto_data; + priv->proto_data = calloc(1, sizeof(struct PS2SynapticsHwInfo)); + synhw = (struct PS2SynapticsHwInfo*)priv->proto_data; /* is the synaptics touchpad active? */ if (!PSMQueryIsSynaptics(pInfo)) |