diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-04-08 06:41:21 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 17:11:35 (GMT) |
commit | bc0571fc1067ff8a8fd16990ae65c1a2826ea90c (patch) | |
tree | 1381f5ebd824a415652755afd5adc65d362071b9 /net/sntp.c | |
parent | a34f2075633d7928e2988193b0caba5854e6ef20 (diff) | |
download | u-boot-fsl-qoriq-bc0571fc1067ff8a8fd16990ae65c1a2826ea90c.tar.xz |
net: cosmetic: Fix checkpatch.pl failures in net.c
Finish eliminating CamelCase from net.c and other failures
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/sntp.c')
-rw-r--r-- | net/sntp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,7 +65,7 @@ static void sntp_handler(uchar *pkt, unsigned dest, struct in_addr sip, */ memcpy(&seconds, &rpktp->transmit_timestamp, sizeof(ulong)); - to_tm(ntohl(seconds) - 2208988800UL + NetTimeOffset, &tm); + to_tm(ntohl(seconds) - 2208988800UL + net_ntp_time_offset, &tm); #if defined(CONFIG_CMD_DATE) rtc_set(&tm); #endif @@ -80,7 +80,7 @@ void sntp_start(void) { debug("%s\n", __func__); - NetSetTimeout(SNTP_TIMEOUT, sntp_timeout_handler); + net_set_timeout_handler(SNTP_TIMEOUT, sntp_timeout_handler); net_set_udp_handler(sntp_handler); memset(net_server_ethaddr, 0, sizeof(net_server_ethaddr)); |