
12 Oct
2022
12 Oct
'22
2:59 p.m.
On Tue, 11 Oct 2022 at 23:37, Ovidiu Panait ovpanait@gmail.com wrote:
Align timer uclass with the other subsystems and provide a timer_get_ops() convenience macro.
Using this instead of the generic device_get_ops() also prevents -Wdiscarded-qualifiers warnings when used with non-const variables.
Signed-off-by: Ovidiu Panait ovpanait@gmail.com
drivers/timer/timer-uclass.c | 2 +- include/timer.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org