Skip to content

Commit

Permalink
staging: nvec: ps2: change serio type to passthrough
Browse files Browse the repository at this point in the history
This changes the serio type of the nvec_ps2 mouse port to passthrough.
The old 8042 type seems appropiete for keyboards only.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Julian Andres Klode <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
marvintwentyfour authored and gregkh committed Jan 31, 2012
1 parent a573298 commit 36b30d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/nvec/nvec_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int __devinit nvec_mouse_probe(struct platform_device *pdev)
struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
struct serio *ser_dev = kzalloc(sizeof(struct serio), GFP_KERNEL);

ser_dev->id.type = SERIO_8042;
ser_dev->id.type = SERIO_PS_PSTHRU;
ser_dev->write = ps2_sendcommand;
ser_dev->start = ps2_startstreaming;
ser_dev->stop = ps2_stopstreaming;
Expand Down

0 comments on commit 36b30d6

Please sign in to comment.