summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-25 13:22:00 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-09-05 11:04:35 +0200
commit5798d503fcae62fe1b82bef12adbce25cc2c1c0c (patch)
tree05346983cb4ea3e1b8bc1e0d21fae415cd0c4557
parent40d4f79b819588751a07a01c40bab5173f4e5a73 (diff)
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>
-rw-r--r--drivers/timer/rockchip_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/rockchip_timer.c b/drivers/timer/rockchip_timer.c
index 0848033c662..eb44965a19d 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,