summaryrefslogtreecommitdiff
path: root/drivers/timer
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-01-15 14:15:42 -0700
committerTom Rini <[email protected]>2023-02-11 12:22:34 -0500
commit4aa5053da5fa0729d30bce5df9a0a037a391f2f3 (patch)
tree57dc63c9a91a2b85306b94b35b8deb646d5362df /drivers/timer
parentc38a21d7199b2e34af2d161fc58674ec81b2105d (diff)
timer: Tidy up use of notrace
Tracing is typically enabled by the time driver model starts up, so there is no point in adding a 'notrace' to the timer-init function. However, once the driver model timer is enabled, we do need to be able to access the timer's private data when reading the timer, so add it to the core function needed for that. Update the function's documentation while we are here. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/timer')
-rw-r--r--drivers/timer/timer-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/timer-uclass.c b/drivers/timer/timer-uclass.c
index bb719792135..f4b871ac23a 100644
--- a/drivers/timer/timer-uclass.c
+++ b/drivers/timer/timer-uclass.c
@@ -136,7 +136,7 @@ u64 timer_conv_64(u32 count)
return ((u64)gd->timebase_h << 32) | gd->timebase_l;
}
-int notrace dm_timer_init(void)
+int dm_timer_init(void)
{
struct udevice *dev = NULL;
__maybe_unused ofnode node;