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: Rob Herring <rob.herring@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Rob Herring 2015-05-05 11:04:22 -05:00 committed by Greg Kroah-Hartman
parent e80d09af1e
commit c13c8bf0cc

View File

@ -686,7 +686,7 @@ error:
}
static struct usb_driver es1_ap_driver = {
.name = "es1_ap_driver",
.name = "es2_ap_driver",
.probe = ap_probe,
.disconnect = ap_disconnect,
.id_table = id_table,