[PATCH 02/11] clock.h: uses uint?_t types, so include types.h

Juergen Beisert jbe at pengutronix.de
Tue Nov 24 04:18:00 EST 2009


On Montag, 23. November 2009, Marc Kleine-Budde wrote:
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
>  include/clock.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/clock.h b/include/clock.h
> index 54b895e..b02899b 100644
> --- a/include/clock.h
> +++ b/include/clock.h
> @@ -1,3 +1,5 @@
> +#include <linux/types.h>
> +

Hmm, we are in u-boot here, not linux. Maybe we could just include
<types.h> here? It does the "#include <linux/types.h>" as one of the first 
things. So, we could hide all the Linux specific things here, but still 
continue to use them.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |




More information about the barebox mailing list