Re: [U-Boot] [PATCH v2 24/25] net: Fix compile errors when SNTP enabled and not DATE

2015-04-08 Thread Simon Glass
On 8 April 2015 at 06:47, Simon Glass wrote: > On 8 April 2015 at 00:41, Joe Hershberger wrote: >> When SNTP is enabled and DATE is not, to_tm() is not built in. It could >> be defined when TIMESTAMP is defined, so check for that. >> >> Signed-off-by: Joe Hershberger >> --- >> >> Changes in v2:

Re: [U-Boot] [PATCH v2 24/25] net: Fix compile errors when SNTP enabled and not DATE

2015-04-08 Thread Simon Glass
On 8 April 2015 at 00:41, Joe Hershberger wrote: > When SNTP is enabled and DATE is not, to_tm() is not built in. It could > be defined when TIMESTAMP is defined, so check for that. > > Signed-off-by: Joe Hershberger > --- > > Changes in v2: > -New to series > > net/sntp.c | 6 +- > 1 file c

[U-Boot] [PATCH v2 24/25] net: Fix compile errors when SNTP enabled and not DATE

2015-04-07 Thread Joe Hershberger
When SNTP is enabled and DATE is not, to_tm() is not built in. It could be defined when TIMESTAMP is defined, so check for that. Signed-off-by: Joe Hershberger --- Changes in v2: -New to series net/sntp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/sntp.c b/net