greybus: Use BIT(2) for GREYBUS_ID_MATCH_CLASS
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 9 Jun 2016 11:04:38 +0000 (16:34 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 10 Jun 2016 00:28:02 +0000 (17:28 -0700)
Bit 2 was left unused, use it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_id.h

index c91e7be..4bb1fc1 100644 (file)
@@ -21,6 +21,6 @@ struct greybus_bundle_id {
 /* Used to match the greybus_bundle_id */
 #define GREYBUS_ID_MATCH_VENDOR                BIT(0)
 #define GREYBUS_ID_MATCH_PRODUCT       BIT(1)
-#define GREYBUS_ID_MATCH_CLASS         BIT(3)
+#define GREYBUS_ID_MATCH_CLASS         BIT(2)
 
 #endif /* __LINUX_GREYBUS_ID_H */