OSDN Git Service

greybus: svc: driver is basic to Greybus (not GP Bridge)
authorAlex Elder <elder@linaro.org>
Mon, 8 Jun 2015 17:05:10 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 8 Jun 2015 22:19:56 +0000 (15:19 -0700)
The SVC protocol driver should have been defined as a basic
Greybus protocol driver, not a GP Bridge protocol driver.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c

index 4dc10e3..f022838 100644 (file)
@@ -245,4 +245,4 @@ static struct gb_protocol svc_protocol = {
        .request_recv           = gb_svc_request_recv,
 };
 
-gb_gpbridge_protocol_driver(svc_protocol);
+gb_protocol_driver(&svc_protocol);