[PATCH 02/11] clock.h: uses uint?_t types, so include types.h
Juergen Beisert
jbe at pengutronix.de
Tue Nov 24 05:07:41 EST 2009
On Dienstag, 24. November 2009, Marc Kleine-Budde wrote:
> Juergen Beisert wrote:
> > 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.
>
> ohh....I was to lazy to search for a non linux/ header.
>
> can I have your ACK?
>
> Marc
>
> From 632be3321ee3be7596ac6857d7daaa9872bbb746 Mon Sep 17 00:00:00 2001
> From: Marc Kleine-Budde <mkl at pengutronix.de>
> Date: Tue, 24 Nov 2009 10:25:03 +0100
> Subject: [PATCH] [clock.h] use typed.h not linux/types.h
>
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
> include/clock.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/clock.h b/include/clock.h
> index b02899b..278f6e8 100644
> --- a/include/clock.h
> +++ b/include/clock.h
> @@ -1,4 +1,4 @@
> -#include <linux/types.h>
> +#include <types.h>
>
> #ifndef CLOCK_H
> #define CLOCK_H
Compile time tested.
Acked-by: Juergen Beisert <jbe at pengutronix.de>
--
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