Commit c13c8bf0 authored by Rob Herring's avatar Rob Herring Committed by Greg Kroah-Hartman

greybus: es2: fix driver name collision with es1

Both ES1 and ES2 drivers cannot be loaded due to a driver name conflict.
Give ES2 driver the correct name.
Signed-off-by: default avatarRob Herring <rob.herring@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent e80d09af
...@@ -686,7 +686,7 @@ static int ap_probe(struct usb_interface *interface, ...@@ -686,7 +686,7 @@ static int ap_probe(struct usb_interface *interface,
} }
static struct usb_driver es1_ap_driver = { static struct usb_driver es1_ap_driver = {
.name = "es1_ap_driver", .name = "es2_ap_driver",
.probe = ap_probe, .probe = ap_probe,
.disconnect = ap_disconnect, .disconnect = ap_disconnect,
.id_table = id_table, .id_table = id_table,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment