diff options
author | Alex Elder <elder@linaro.org> | 2014-10-01 21:54:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-10-02 21:17:20 -0700 |
commit | 8c12cde3c2b98ec2d298b2536bcb0cb1d7591b85 (patch) | |
tree | f37399e181456b6539c6f5ca12c519b966046f7c /drivers/staging/greybus/module.h | |
parent | e1e9dbddfe71de1efba5bc77b3f2b374e2ba0104 (diff) |
greybus: define greybus interface abstraction
Define new source files "interface.h" and "interface.c" to contain
the definitions of the Greybus interface abstraction. A Greybus
interface represents a UniPro device present in a UniPro module.
For Project Ara, each interface block on a module implements a
UniPro interface.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/module.h')
-rw-r--r-- | drivers/staging/greybus/module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h index 0d0f19f9b9fc..921c001911a2 100644 --- a/drivers/staging/greybus/module.h +++ b/drivers/staging/greybus/module.h @@ -16,6 +16,7 @@ struct gb_module { struct device dev; + struct list_head interfaces; struct list_head links; /* greybus_host_device->modules */ u8 module_id; /* Physical location within the Endo */ |