summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_id.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-04-06 15:49:36 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-04-06 12:47:06 +0200
commit88e6d37c448062b86211e89d23348d952fd166c0 (patch)
treef7d2bb683a8349159a759b2e78821504f95a94c3 /drivers/staging/greybus/greybus_id.h
parent9f5f30e712430912f4cff65e97dd36f9b3bdbe4e (diff)
downloadop-kernel-dev-88e6d37c448062b86211e89d23348d952fd166c0.zip
op-kernel-dev-88e6d37c448062b86211e89d23348d952fd166c0.tar.gz
greybus: bundle: s/class_type/class
Alex suggested to name it class instead of class type. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_id.h')
-rw-r--r--drivers/staging/greybus/greybus_id.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/greybus_id.h b/drivers/staging/greybus/greybus_id.h
index 4204a8c..8e76d42 100644
--- a/drivers/staging/greybus/greybus_id.h
+++ b/drivers/staging/greybus/greybus_id.h
@@ -13,7 +13,7 @@ struct greybus_bundle_id {
__u16 match_flags;
__u16 vendor;
__u16 product;
- __u8 class_type;
+ __u8 class;
__u64 unique_id;
kernel_ulong_t driver_info __aligned(sizeof(kernel_ulong_t));
@@ -23,6 +23,6 @@ struct greybus_bundle_id {
#define GREYBUS_ID_MATCH_VENDOR BIT(0)
#define GREYBUS_ID_MATCH_PRODUCT BIT(1)
#define GREYBUS_ID_MATCH_SERIAL BIT(2)
-#define GREYBUS_ID_MATCH_CLASS_TYPE BIT(3)
+#define GREYBUS_ID_MATCH_CLASS BIT(3)
#endif /* __LINUX_GREYBUS_ID_H */
OpenPOWER on IntegriCloud