[PATCH 02/11] clock.h: uses uint?_t types, so include types.h
Marc Kleine-Budde
mkl at pengutronix.de
Tue Nov 24 04:41:12 EST 2009
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
--
1.6.5.3
--
Pengutronix e.K. | Marc Kleine-Budde |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20091124/a4ed32ac/attachment.sig>
More information about the barebox
mailing list