test: fix keyboard capabilities

LITEST_KEYBOARD is the device type, not a feature.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-03-24 14:37:16 +10:00
parent 6a61032625
commit ec2b4bbaff

View file

@ -106,7 +106,7 @@ litest_create_keyboard(struct litest_device *d)
struct litest_test_device litest_keyboard_device = {
.type = LITEST_KEYBOARD,
.features = LITEST_KEYBOARD,
.features = LITEST_KEYS,
.shortname = "default keyboard",
.setup = litest_keyboard_setup,
.teardown = litest_generic_device_teardown,