greybus: Define device ids for AP/SVC/modules

Define device-ids for AP, SVC and modules (starting id only).

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Viresh Kumar 2015-07-21 17:44:12 +05:30 committed by Greg Kroah-Hartman
parent 6366d73fd4
commit c8dd60db6c
1 changed files with 6 additions and 1 deletions

View File

@ -52,7 +52,12 @@
#ifndef __GREYBUS_PROTOCOLS_H
#define __GREYBUS_PROTOCOLS_H
/* Control Protocol */
/* Fixed IDs for control/svc protocols */
/* Device ID of SVC and AP */
#define GB_DEVICE_ID_SVC 0
#define GB_DEVICE_ID_AP 1
#define GB_DEVICE_ID_MODULES_START 2
/* Bundle-id and cport-id for control cport */
#define GB_CONTROL_BUNDLE_ID 0