greybus: svc: fix version response

The SVC-protocol driver currently accepts the version offered by the
SVC, but still responded with a hard-coded version.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c
index 5a130e5..075d81d 100644
--- a/drivers/staging/greybus/svc.c
+++ b/drivers/staging/greybus/svc.c
@@ -278,8 +278,9 @@
 	}
 
 	version = op->response->payload;
-	version->major = GB_SVC_VERSION_MAJOR;
-	version->minor = GB_SVC_VERSION_MINOR;
+	version->major = connection->module_major;
+	version->minor = connection->module_minor;
+
 	return 0;
 }