summaryrefslogtreecommitdiff
path: root/net/cdp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:58:13 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:16 -0500
commit0b4c5ff4ab7fb0a69030b9ddb8f9415076ab545b (patch)
tree5ea84c4749e550766a7d2acba7c75407b6bfb1ba /net/cdp.c
parent8d353eb86d2f1d7c7de2be2f474edbc53bb0ee5e (diff)
downloadu-boot-imx-0b4c5ff4ab7fb0a69030b9ddb8f9415076ab545b.zip
u-boot-imx-0b4c5ff4ab7fb0a69030b9ddb8f9415076ab545b.tar.gz
u-boot-imx-0b4c5ff4ab7fb0a69030b9ddb8f9415076ab545b.tar.bz2
net: cosmetic: Rename CDPHandler to cdp_receive
This is not called as a handler, so don't name it that way Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/cdp.c')
-rw-r--r--net/cdp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/cdp.c b/net/cdp.c
index 63be570..9bec441 100644
--- a/net/cdp.c
+++ b/net/cdp.c
@@ -245,8 +245,7 @@ CDPDummyHandler(uchar *pkt, unsigned dest, IPaddr_t sip, unsigned src,
/* nothing */
}
-void
-CDPHandler(const uchar *pkt, unsigned len)
+void cdp_receive(const uchar *pkt, unsigned len)
{
const uchar *t;
const ushort *ss;