greybus: first cut at parsing svc messages sent to the AP
diff --git a/drivers/staging/greybus/ap.c b/drivers/staging/greybus/ap.c
index 2fb2cc1..a70404d 100644
--- a/drivers/staging/greybus/ap.c
+++ b/drivers/staging/greybus/ap.c
@@ -42,6 +42,12 @@
// for now, just cast the pointer and run away...
svc_msg = (struct svc_msg *)ap_msg->data;
+
+ // FIXME - put in correct version numbers
+ if ((svc_msg->header.version_major != 0x00) &&
+ (svc_msg->header.version_minor != 0x00))
+ return NULL;
+
return svc_msg;
}