diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-11 07:35:58 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-11 17:53:43 -0700 |
commit | d653f4b19163aa9f3a8046bd6e895b8615856d11 (patch) | |
tree | 7fb618e9e731156a7d6230296a3432460e9bce93 /drivers/staging/greybus/connection.h | |
parent | 2b11a45d29f52c94fdea1d8f1c7baa25cb7368bb (diff) |
greybus: connection: Save major/minor supported by module
Save major/minor number supported by the module inside connection
structure, as this can be used later.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.h')
-rw-r--r-- | drivers/staging/greybus/connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h index f02b9d9fb084..0dbbc202e953 100644 --- a/drivers/staging/greybus/connection.h +++ b/drivers/staging/greybus/connection.h @@ -34,6 +34,8 @@ struct gb_connection { u8 protocol_id; u8 major; u8 minor; + u8 module_major; + u8 module_minor; spinlock_t lock; enum gb_connection_state state; |