OSDN Git Service

greybus: define more greybus classes
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 30 Jun 2015 06:10:18 +0000 (11:40 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 1 Jul 2015 02:34:47 +0000 (19:34 -0700)
There are new protocols defined which don't belong to any existing
class, add more classes to support them.

Reported-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_manifest.h

index d6175ce..f84cfeb 100644 (file)
@@ -64,6 +64,9 @@ enum greybus_class_type {
        GREYBUS_CLASS_DISPLAY           = 0x0c,
        GREYBUS_CLASS_CAMERA            = 0x0d,
        GREYBUS_CLASS_SENSOR            = 0x0e,
+       GREYBUS_CLASS_LIGHTS            = 0x0f,
+       GREYBUS_CLASS_VIBRATOR          = 0x10,
+       GREYBUS_CLASS_LOOPBACK          = 0x11,
        GREYBUS_CLASS_VENDOR            = 0xff,
 };