[PATCH 2/3] common: Drop time.h from common header
Tom Rini
trini at konsulko.com
Mon Sep 25 16:05:04 CEST 2023
On Sun, Sep 24, 2023 at 08:39:51PM -0600, Simon Glass wrote:
> Move this out of the common header and include it only where needed.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
[snip]
> diff --git a/arch/arm/include/asm/arch-tegra/timer.h b/arch/arm/include/asm/arch-tegra/timer.h
> index 1c4decacd338..c5e9d841031a 100644
> --- a/arch/arm/include/asm/arch-tegra/timer.h
> +++ b/arch/arm/include/asm/arch-tegra/timer.h
> @@ -9,6 +9,7 @@
> #define _TEGRA_TIMER_H
>
> /* returns the current monotonic timer value in microseconds */
> +#include <time.h>
> unsigned long timer_get_us(void);
>
> #endif
This should be replaced with timer.h being used directly.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230925/6980c629/attachment.sig>
More information about the U-Boot
mailing list