]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 4dc10e3778c48c4f1dea0cf780cbc7503968a6c4..f022838102316cf50c77c2467469ce8ed90a9be3 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);