commit | 12a5dfc9acf690504e7266a8f310702bc9e6872c | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <greg@kroah.com> | Wed Dec 24 13:01:40 2014 -0800 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Fri Jan 02 13:05:42 2015 -0800 |
tree | e08322fe107b8caed9adb4f7a678ea582ea4727f | |
parent | 1b6ea0db016941a0919c17839c1772cceb1955c1 [diff] |
greybus: protocol: add a module owner to a protocol Now that protocols can be in a module, we need to reference count them to lock them into memory so they can't be removed while in use. So add a module owner structure, and have it automatically be assigned when registering the protocol. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Reviewed-by: Alex Elder <elder@linaro.org>