[U-Boot] [PATCH] rockchip: timer: fix U_BOOT_DRIVER name

When I originally added this driver, I did some careless (and in retrospect: mindless) copy & paste for the U_BOOT_DRIVER structure skeletion... unfortunately, the 'arc_timer' string was committed and slipped through all reviews.
This fixes the U_BOOT_DRIVER name to read 'rockchip_rk3368_timer' (as originally intended).
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reported-by: Artturi Alm artturi.alm@gmail.com ---
drivers/timer/rockchip_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/timer/rockchip_timer.c b/drivers/timer/rockchip_timer.c index 0848033..eb44965 100644 --- a/drivers/timer/rockchip_timer.c +++ b/drivers/timer/rockchip_timer.c @@ -92,7 +92,7 @@ static const struct udevice_id rockchip_timer_ids[] = { {} };
-U_BOOT_DRIVER(arc_timer) = { +U_BOOT_DRIVER(rockchip_rk3368_timer) = { .name = "rockchip_rk3368_timer", .id = UCLASS_TIMER, .of_match = rockchip_timer_ids,

On 25 August 2017 at 19:25, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
When I originally added this driver, I did some careless (and in retrospect: mindless) copy & paste for the U_BOOT_DRIVER structure skeletion... unfortunately, the 'arc_timer' string was committed and slipped through all reviews.
This fixes the U_BOOT_DRIVER name to read 'rockchip_rk3368_timer' (as originally intended).
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reported-by: Artturi Alm artturi.alm@gmail.com
drivers/timer/rockchip_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org

When I originally added this driver, I did some careless (and in retrospect: mindless) copy & paste for the U_BOOT_DRIVER structure skeletion... unfortunately, the 'arc_timer' string was committed and slipped through all reviews.
This fixes the U_BOOT_DRIVER name to read 'rockchip_rk3368_timer' (as originally intended).
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reported-by: Artturi Alm artturi.alm@gmail.com Reviewed-by: Simon Glass sjg@chromium.org
drivers/timer/rockchip_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-rockchip, thanks!
participants (2)
-
Philipp Tomsich
-
Simon Glass