summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_id.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-21 10:52:02 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-21 17:15:35 -0800
commitf65fa47f28f303c84b701dadda6d4f48fb541691 (patch)
treeff2bb4f2f7dba52d71eb4fd8d6ca15e4e84bbffa /drivers/staging/greybus/greybus_id.h
parent8034bd561dac0c6616097394ba9b5eaee3c4fc9c (diff)
downloadop-kernel-dev-f65fa47f28f303c84b701dadda6d4f48fb541691.zip
op-kernel-dev-f65fa47f28f303c84b701dadda6d4f48fb541691.tar.gz
greybus: fix vendor and product matching
Fix vendor and product matching by matching on the 32-bit Ara vendor and product ids. Remove the "fake" 16-bit vendor and product ids and export the Ara ids using the "vendor" and "product" interface attributes instead. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> 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 68d2e95..c91e7be 100644
--- a/drivers/staging/greybus/greybus_id.h
+++ b/drivers/staging/greybus/greybus_id.h
@@ -11,8 +11,8 @@
struct greybus_bundle_id {
__u16 match_flags;
- __u16 vendor;
- __u16 product;
+ __u32 vendor;
+ __u32 product;
__u8 class;
kernel_ulong_t driver_info __aligned(sizeof(kernel_ulong_t));
OpenPOWER on IntegriCloud