Commit c8dd60db authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman
Browse files

greybus: Define device ids for AP/SVC/modules



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

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 6366d73f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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