]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: Fix compile errors when SNTP enabled and not DATE
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 Apr 2015 06:41:24 +0000 (01:41 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:28:25 +0000 (22:28 +0200)
commite77395268de3b8dca2d93ffdf70b9436c8c64d81
treee0aaa5b15511426d0cade58b03cbce33981a3d44
parent12a41aa7e19417a787ba16ddf24fadcbc21ea6f8
net: Fix compile errors when SNTP enabled and not DATE

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 <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
net/sntp.c