summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-13 13:00:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-13 13:00:55 +0200
commit0d12b0c82c8329141acaf79df9e480f1ba1d9aa3 (patch)
tree483f5b116f893f7510b4bd609c67ff45f67750ca /arch
parent97e553bc657efcb99b6a99fe93fd3b06d7f0f82a (diff)
downloadbarebox-0d12b0c82c8329141acaf79df9e480f1ba1d9aa3.tar.gz
barebox-0d12b0c82c8329141acaf79df9e480f1ba1d9aa3.tar.xz
ARM: i.MX: esdctl: Fix wrong driver name
The driver should be named imx_esdctl_driver, not imx_serial_driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/esdctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
index 66ba51cde1..106e648bd3 100644
--- a/arch/arm/mach-imx/esdctl.c
+++ b/arch/arm/mach-imx/esdctl.c
@@ -434,7 +434,7 @@ static __maybe_unused struct of_device_id imx_esdctl_dt_ids[] = {
}
};
-static struct driver_d imx_serial_driver = {
+static struct driver_d imx_esdctl_driver = {
.name = "imx-esdctl",
.probe = imx_esdctl_probe,
.id_table = imx_esdctl_ids,
@@ -443,7 +443,7 @@ static struct driver_d imx_serial_driver = {
static int imx_esdctl_init(void)
{
- return platform_driver_register(&imx_serial_driver);
+ return platform_driver_register(&imx_esdctl_driver);
}
mem_initcall(imx_esdctl_init);