summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:14 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:34 -0600
commit6aede5b750e342c3293ec1d87c4dbb9376280bbe (patch)
tree8047c5b255d7a28924301394700976efc37c3641 /include
parent331db5a90f0431465c36189672b2096b9b1e37d0 (diff)
downloadu-boot-imx-6aede5b750e342c3293ec1d87c4dbb9376280bbe.zip
u-boot-imx-6aede5b750e342c3293ec1d87c4dbb9376280bbe.tar.gz
u-boot-imx-6aede5b750e342c3293ec1d87c4dbb9376280bbe.tar.bz2
net: cosmetic: Clean up CDP variables and functions
Make a thorough pass through all variables and function names contained within cdp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index 502e0c2..eb71113 100644
--- a/include/net.h
+++ b/include/net.h
@@ -518,8 +518,8 @@ extern struct in_addr net_ping_ip; /* the ip address to ping */
#if defined(CONFIG_CMD_CDP)
/* when CDP completes these hold the return values */
-extern ushort CDPNativeVLAN; /* CDP returned native VLAN */
-extern ushort CDPApplianceVLAN; /* CDP returned appliance VLAN */
+extern ushort cdp_native_vlan; /* CDP returned native VLAN */
+extern ushort cdp_appliance_vlan; /* CDP returned appliance VLAN */
/*
* Check for a CDP packet by examining the received MAC address field