rockchip: timer: fix U_BOOT_DRIVER name
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 25 Aug 2017 11:22:00 +0000 (13:22 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 5 Sep 2017 09:04:35 +0000 (11:04 +0200)
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

index 0848033c66257630b987ed14b0411280cb08662b..eb44965a19d488ac3b43564ef8977f8949a00d32 100644 (file)
@@ -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,