From 0d12b0c82c8329141acaf79df9e480f1ba1d9aa3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 13 Apr 2016 13:00:50 +0200 Subject: 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 --- arch/arm/mach-imx/esdctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch') 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); -- cgit v1.2.3