diff options
author | Chris Packham <judge.packham@gmail.com> | 2018-05-03 20:19:03 +1200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-14 21:28:38 -0400 |
commit | 4b4dc5211e1df7a85fbe7a83ac8e64ee81879e1b (patch) | |
tree | 19d9ff76e83c07a0f2353e085aa4dd77c529f970 /arch/arm/dts/r8a77965.dtsi | |
parent | 9b23c73d5e044aa19883b6528f549fff227f6703 (diff) |
net: bootp: Fix compile error processing ntpserver option
When the following configuration is set
# CONFIG_CMD_DHCP is not set
CONFIG_CMD_BOOTP=y
CONFIG_BOOTP_NTPSERVER=y
The following compile error is observed
error: used struct type value where scalar is required
if (net_ntp_server)
^~~~~~~~~~~~~~
Resolve this by checking net_ntp_server.s_addr instead.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/arm/dts/r8a77965.dtsi')
0 files changed, 0 insertions, 0 deletions