summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/interface.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/interface.h
parent8034bd561dac0c6616097394ba9b5eaee3c4fc9c (diff)
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/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index f0ef4e9a6206..28d2bac2b7b1 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -22,16 +22,14 @@ struct gb_interface {
u8 device_id; /* Device id allocated for the interface block by the SVC */
/* Information taken from the manifest descriptor */
- u16 vendor;
- u16 product;
char *vendor_string;
char *product_string;
/* Information taken from the hotplug event */
u32 unipro_mfg_id;
u32 unipro_prod_id;
- u32 ara_vend_id;
- u32 ara_prod_id;
+ u32 vendor;
+ u32 product;
struct gb_module *module;
struct gb_host_device *hd;